共用方式為


ReportingService2005.GetResourceContents 方法

Retrieves the contents of a resource.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Function GetResourceContents ( _
    Resource As String, _
    <OutAttribute> ByRef MimeType As String _
) As Byte()
'用途
Dim instance As ReportingService2005 
Dim Resource As String 
Dim MimeType As String 
Dim returnValue As Byte()

returnValue = instance.GetResourceContents(Resource, _
    MimeType)
public byte[] GetResourceContents(
    string Resource,
    out string MimeType
)
public:
array<unsigned char>^ GetResourceContents(
    String^ Resource, 
    [OutAttribute] String^% MimeType
)
member GetResourceContents : 
        Resource:string * 
        MimeType:string byref -> byte[] 
public function GetResourceContents(
    Resource : String, 
    MimeType : String
) : byte[]

參數

  • Resource
    型別:System.String
    The full path name of the resource for which to retrieve the contents.
  • MimeType
    型別:System.String%
    [out] The Multipurpose Internet Mail Extensions (MIME) type of the resource.

傳回值

型別:array<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

(Out) ServerInfoHeaderValue

Required Permissions

ReadContent

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間