Share via


ReportingService2005.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 full path name of the resource for which to retrieve the contents.

MimeType
String

[out] The Multipurpose Internet Mail Extensions (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 (Out) ServerInfoHeaderValue
Required Permissions ReadContent

Applies to