ReportingService2006.SetModelDefinition(String, Byte[]) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 모델에 대해 정의를 설정합니다.
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[]
모델 정의의 유효성을 검사할 때 발생한 모든 경고를 설명하는 Warning 개체의 배열입니다.
설명
다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.
SOAP 헤더 | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
필요한 권한 | <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems> |
제공된 정의는 기존 모델 정의를 대체합니다.
제출된 모델의 모델 ID가 기존 모델의 모델 ID와 일치해야 합니다. 그렇지 않은 경우 rsModelIDMismatch
오류가 반환됩니다.