ReportingService2005.GetResourceContents(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |