Поделиться через


Метод 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