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 헤더 (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
필요한 권한 UpdateContent

제공된 정의는 기존 모델 정의를 대체합니다.

제출된 모델의 모델 ID가 기존 모델의 모델 ID와 일치해야 합니다. 그렇지 않으면 rsModelIDMismatch 오류가 반환됩니다.

적용 대상