ReportingService2006.GetResourceContents(String, String) Method

Definition

Retrieves the contents of a resource.

public:
 cli::array <System::Byte> ^ GetResourceContents(System::String ^ Resource, [Runtime::InteropServices::Out] System::String ^ % MimeType);
public byte[] GetResourceContents (string Resource, out string MimeType);
member this.GetResourceContents : string * string -> byte[]
Public Function GetResourceContents (Resource As String, ByRef MimeType As String) As Byte()

Parameters

Resource
String

The fully qualified URL for the resource.

MimeType
String

[out] The MIME type of the resource.

Returns

Byte[]

The contents of the resource as a Base 64-encoded byte array.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.OpenItems>

Applies to