Condividi tramite


Metodo ReportingService2006.GetResourceContents

Retrieves the contents of a resource.

Spazio dei nomi  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Sintassi

'Dichiarazione
Public Function GetResourceContents ( _
    Resource As String, _
    <OutAttribute> ByRef MimeType As String _
) As Byte()
'Utilizzo
Dim instance As ReportingService2006 
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[]

Parametri

  • Resource
    Tipo: System.String
    The fully qualified URL for the resource.
  • MimeType
    Tipo: System.String%
    [out] The MIME type of the resource.

Valore restituito

Tipo: array<System.Byte[]
The contents of the resource as a Base 64-encoded byte array.

Osservazioni

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

OpenItems

Vedere anche

Riferimento

ReportingService2006 Classe

Spazio dei nomi ReportService2006