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] 资源的多用途 Internet 邮件扩展 (MIME) 类型。[out] The Multipurpose Internet Mail Extensions (MIME) type of the resource.

Returns

Byte[]

以 Base 64 编码格式的字节数组表示的资源的内容。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 标头SOAP Headers (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
所需的权限Required Permissions ReadContent

Applies to