Language

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

定義

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

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

パラメーター

Model
String

モデルの完全限定URLとファイル名と拡張子.smdl。

Definition
Byte[]

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

返品

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

注釈

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

SOAPヘッダー (イン) TrustedUserHeaderValue

(アウト) ServerInfoHeaderValue
必要なアクセス許可 <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

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

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

適用対象