ReportingService2005.CreateModel 메서드

Creates a model in the catalog namespace.

네임스페이스:  ReportService2005
어셈블리:  ReportService2005(ReportService2005.dll)

public Warning[] CreateModel(
	string Model,
	string Parent,
	byte[] Definition,
	Property[] Properties

매개 변수

유형: System.String
The name of the model to create.
유형: System.String
Full name of the folder under which to add the new model.
유형: System.Byte[]
The report model to publish. The XML data is defined by the Semantic Model Definition Language
유형: ReportService2005.Property[]
An array of Property objects that defines model properties and their values.

반환 값

유형: ReportService2005.Warning[]
The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions


An array of Warning objects that describe any warnings that may have occurred during the validation of the model definition if CreateModel is called successfully; otherwise an exception is raised.

Model item security is turned off for the model when it is initially created.

The ModifiedBy and ModifiedDate properties of the parent folder are updated when CreateModel is successfully called.

The length of the Parent parameter cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

The Parent parameter cannot be null or empty or contain the following reserved characters: : ? ; @ & = + $ , \ * > < | . ". You can use the forward slash character (/) to separate items in the full path name of the folder, but you cannot use it at the end of the folder name.