Report.GetResource Method
Returns the requested resource and its MIME type.
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly : Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)
Syntax
'Declaration
Public Function GetResource ( _
resourcePath As String, _
<OutAttribute> ByRef resource As Byte(), _
<OutAttribute> ByRef mimeType As String _
) As Boolean
public bool GetResource (
string resourcePath,
out byte[] resource,
out string mimeType
)
public:
bool GetResource (
String^ resourcePath,
[OutAttribute] array<unsigned char>^% resource,
[OutAttribute] String^% mimeType
)
public boolean GetResource (
String resourcePath,
/** @attribute OutAttribute() */ /** @ref */ byte[] resource,
/** @attribute OutAttribute() */ /** @ref */ String mimeType
)
Von JScript werden keine passiven Werttypargumente zur Referenz unterstützt.
Parameter
- resourcePath
The path of the resource to retrieve.
- resource
[out] A byte array that contains the resource.
- mimeType
A String indicating the resource's MIME type.
Rückgabewert
A Boolean value indicating whether the resource was successfully retrieved.
Hinweise
Neu:05. Dezember 2005
Threadsicherheit
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace