ReportingService2006.SetResourceContents Method (String, Byte[], String)

 

Sets the contents of a resource.

Namespace:   ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

public void SetResourceContents(
	string Resource,
	byte[] Contents,
	string MimeType
)

Parameters

Resource
Type: System.String

The fully qualified URL of the resource including the file name and extension.

Contents
Type: System.Byte[]

The contents of a resource in the form of a byte array.

MimeType
Type: 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 null (Nothing in Visual Basic).

Return to top
Show: