ReportingService2006.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

파일 이름과 확장명을 포함하는 리소스의 정규화된 URL입니다.

Contents
Byte[]

바이트 배열 형식의 리소스 내용입니다.

MimeType
String

선택 사항입니다. 리소스의 MIME 형식입니다.

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
필요한 권한 <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

매개 변수의 Contents 값이 (Visual Basic의 경우)로Nothing 설정된 null 경우 오류 코드 rsMissingParameter 와 함께 SOAP 예외가 throw됩니다.

적용 대상