ReportingService2005.GetResourceContents(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索资源的内容。
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
要检索其内容的资源的完整路径名。
- MimeType
- String
[out] 资源的多用途 Internet 邮件扩展 (MIME) 类型。
返回
Byte[]
以 Base 64 编码格式的字节数组表示的资源的内容。
注解
下表显示了有关此操作的标头和权限信息。
SOAP 标头 | (Out) ServerInfoHeaderValue |
所需的权限 | ReadContent |