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

파일 이름과 .smdl 파일 이름 확장명을 포함하는 모델의 정규화된 URL입니다.

Definition
Byte[]

XML 모델 정의를 포함하는 바이트 배열입니다. XML 데이터는 의미 체계 모델 정의 언어 로 http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/ 정의됩니다.

반환

모델 정의의 유효성을 검사할 때 발생한 모든 경고를 설명하는 Warning 개체의 배열입니다.

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
필요한 권한 <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

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

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

적용 대상