ReportingService2006.GetResourceContents Method

Retrieves the contents of a resource.

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

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

Parameters

Resource
Type: System.String
The fully qualified URL for the resource.
MimeType
Type: System.String%
[out] The 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

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

OpenItems()

Community Additions

ADD
Show: