ReportingService2005.GetResourceContents Method

Retrieves the contents of a resource.

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

[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetResourceContents", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public byte[] GetResourceContents(
	string Resource,
	out string MimeType
)

Parameters

Resource
Type: System.String
The full path name of the resource for which to retrieve the contents.
MimeType
Type: System.String%
[out] The Multipurpose Internet Mail Extensions (MIME) type of the resource.

Return Value

Type: System.Byte[]
The contents of the resource as a Base 64-encoded byte array.

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

ReadContent

Community Additions

ADD
Show: