ReportingService2006.GetResourceContents(String, String) 方法

定义

检索资源的内容。

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()

参数

Resource
String

资源的完全限定 URL。

MimeType
String

[out] 资源的 MIME 类型。

返回

Byte[]

以 Base 64 编码格式的字节数组表示的资源的内容。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
所需的权限 <xref:Microsoft.SharePoint.SPBasePermissions.OpenItems>

适用于