ReportingService2005.SetResourceContents(String, Byte[], String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
리소스의 내용을 설정합니다.
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
선택 사항입니다. 리소스의 MIME 형식입니다.
설명
다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.
SOAP 헤더 | (In) BatchHeaderValue (Out) ServerInfoHeaderValue |
필요한 권한 | UpdateContent |
매개 변수의 Contents
값이 (Visual Basic의 경우)로Nothing
설정된 null
경우 오류 코드 rsMissingParameter
와 함께 SOAP 예외가 throw됩니다.
보고서 서버는 매개 변수 값의 유효성을 MimeType
검사하지 않습니다.