ReportingService2005.CreateModel(String, String, Byte[], Property[]) 메서드

정의

카탈로그 네임스페이스에서 모델을 만듭니다.

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

매개 변수

Model
String

만들 모델의 이름입니다.

Parent
String

새 모델을 추가할 폴더의 전체 이름입니다.

Definition
Byte[]

게시할 보고서 모델입니다. XML 데이터는 의미 체계 모델 정의 언어로 http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/ 정의됩니다.

Properties
Property[]

모델 속성과 해당 값을 정의하는 Property 개체의 배열입니다.

반환

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

**SOAP 헤더** (In) BatchHeaderValue

(Out) ServerInfoHeaderValue

필요한 권한 CreateModel

CreateModel이 성공적으로 호출된 경우 모델 정의의 유효성 검사 중에 발생할 수 있는 경고를 설명하는 개체의 배열 Warning 입니다. 그렇지 않으면 예외가 발생합니다.

설명

모델 항목 보안은 처음에 만들어지면 모델에 대해 해제됩니다.

ModifiedBy 가 성공적으로 호출되면 부모 폴더의 및 ModifiedDate 속성이 업데이트 CreateModel 됩니다.

매개 변수의 Parent 길이는 260자를 초과할 수 없습니다. 그렇지 않으면 오류 코드 rsItemLengthExceeded와 함께 SOAP 예외가 throw됩니다.

매개 변수는 Parent null이거나 비어 있거나 예약된 문자를 : ? ; @ & = + $ , \ * > < | . "포함할 수 없습니다. 슬래시 문자(/)를 사용하여 폴더의 전체 경로 이름에 있는 항목을 구분할 수 있지만 폴더 이름 끝에는 사용할 수 없습니다.

적용 대상