Language

ReportingService2005.SetModelDefinition(String, Byte[]) メソッド

定義

指定されたモデルの定義を設定します。

public:
 cli::array <ReportService2005::Warning ^> ^ SetModelDefinition(System::String ^ Model, cli::array <System::Byte> ^ Definition);
public ReportService2005.Warning[] SetModelDefinition(string Model, byte[] Definition);
member this.SetModelDefinition : string * byte[] -> ReportService2005.Warning[]
Public Function SetModelDefinition (Model As String, Definition As Byte()) As Warning()

パラメーター

Model
String

モデル定義を設定するモデルのフルネーム。

Definition
Byte[]

XMLモデル定義を含むバイト配列です。 XMLデータは http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/ セマンティックモデル定義言語によって定義されています。

返品

モデル定義の検証中に発生した可能性のある警告を記述する Warning オブジェクトの配列です。

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダー (イン) BatchHeaderValue

(アウト) ServerInfoHeaderValue
必要なアクセス許可 UpdateContent

提供された定義は既存のモデル定義に代わるものです。

提出されたモデルのモデルIDは既存のモデルと一致しなければならず、そうでなければ rsModelIDMismatch エラーが返されます。

適用対象