ReportingService2006.SetReportDefinition Method

指定したレポートのレポート定義を設定します。

名前空間: ReportService2006
アセンブリ: ReportService2006 (reportservice2006.dll 内)

構文

'宣言
Public Function SetReportDefinition ( _
    Report As String, _
    Definition As Byte() _
) As Warning()
public Warning[] SetReportDefinition (
    string Report,
    byte[] Definition
)
public:
array<Warning^>^ SetReportDefinition (
    String^ Report, 
    array<unsigned char>^ Definition
)
public Warning[] SetReportDefinition (
    String Report, 
    byte[] Definition
)
public function SetReportDefinition (
    Report : String, 
    Definition : byte[]
) : Warning[]

パラメータ

  • Report
    ファイル名と .rdl ファイル名拡張子を含む、レポートの完全修飾 URL です。
  • Definition
    登録するレポート定義です。

戻り値

レポート定義の検証時に発生した警告を表す Warning オブジェクトの配列です。

解説

レポートのレポート定義を変更すると、レポートの ModifiedBy プロパティ、ModifiedDate プロパティ、および Size プロパティが変更されます。Description プロパティは影響を受けません。レポートの実行設定とスナップショットは有効なままとなります。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。, Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0

参照

関連項目

ReportingService2006 Class
ReportingService2006 Members
ReportService2006 Namespace