要求されたリソースとその MIME の種類を返します。
名前空間: Microsoft.ReportingServices.ReportRendering
アセンブリ: Microsoft.ReportingServices.ProcessingCore (microsoft.reportingservices.processingcore.dll 内)
構文
'宣言
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
)
JScript は、値と型の引数の参照渡しをサポートしていません。
パラメータ
- resourcePath
取得するリソースのパスです。
- resource
[out] リソースを格納するバイト配列です。
- mimeType
リソースの MIME の種類を示す String です。
戻り値
リソースが正常に取得されたかどうかを示す Boolean 値です。
解説
新規 :2005 年 12 月 5 日
スレッド セーフ
この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
対象プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
参照
関連項目
Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace