ReportingService2006.SetResourceContents 메서드

Sets the contents of a resource.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006(ReportService2006.dll)

구문

‘선언
Public Sub SetResourceContents ( _
    Resource As String, _
    Contents As Byte(), _
    MimeType As String _
)
‘사용 방법
Dim instance As ReportingService2006 
Dim Resource As String 
Dim Contents As Byte()
Dim MimeType As String

instance.SetResourceContents(Resource, _
    Contents, MimeType)
public void SetResourceContents(
    string Resource,
    byte[] Contents,
    string MimeType
)
public:
void SetResourceContents(
    String^ Resource, 
    array<unsigned char>^ Contents, 
    String^ MimeType
)
member SetResourceContents : 
        Resource:string * 
        Contents:byte[] * 
        MimeType:string -> unit
public function SetResourceContents(
    Resource : String, 
    Contents : byte[], 
    MimeType : String
)

매개 변수

  • Resource
    유형: System.String
    The fully qualified URL of the resource including the file name and extension.
  • Contents
    유형: array<System.Byte[]
    The contents of a resource in the form of a byte array.
  • MimeType
    유형: System.String
    Optional. The MIME type of the resource.

주의

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

EditListItems

A SOAP exception is thrown with the error code rsMissingParameter if the value of the Contents parameter is set to nullnull 참조(Visual Basic에서는 Nothing) (Nothing in Visual Basic).

참고 항목

참조

ReportingService2006 클래스

ReportService2006 네임스페이스