Language

ReportingService2005.SetResourceContents(String, Byte[], String) メソッド

定義

リソースの内容を設定します。

public:
 void SetResourceContents(System::String ^ Resource, cli::array <System::Byte> ^ Contents, System::String ^ MimeType);
public void SetResourceContents(string Resource, byte[] Contents, string MimeType);
member this.SetResourceContents : string * byte[] * string -> unit
Public Sub SetResourceContents (Resource As String, Contents As Byte(), MimeType As String)

パラメーター

Resource
String

リソースのフルパス名。

Contents
Byte[]

バイト配列の形でリソースの内容を扱う。

MimeType
String

Optional. MIMEタイプのリソースです。

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダー (イン) BatchHeaderValue

(アウト) ServerInfoHeaderValue
必要なアクセス許可 UpdateContent

Contentsパラメータの値をnull(Visual BasicではNothing)に設定した場合、エラーコードrsMissingParameterとともにSOAP例外がスローされます。

レポートサーバーは MimeType パラメータの値を検証しません。

適用対象