Share via


ReportingService2005.CreateModel 메서드

Creates a model in the catalog namespace.

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

구문

‘선언
Public Function CreateModel ( _
    Model As String, _
    Parent As String, _
    Definition As Byte(), _
    Properties As Property() _
) As Warning()
‘사용 방법
Dim instance As ReportingService2005 
Dim Model As String 
Dim Parent As String 
Dim Definition As Byte()
Dim Properties As Property()
Dim returnValue As Warning()

returnValue = instance.CreateModel(Model, _
    Parent, Definition, Properties)
public Warning[] CreateModel(
    string Model,
    string Parent,
    byte[] Definition,
    Property[] Properties
)
public:
array<Warning^>^ CreateModel(
    String^ Model, 
    String^ Parent, 
    array<unsigned char>^ Definition, 
    array<Property^>^ Properties
)
member CreateModel : 
        Model:string * 
        Parent:string * 
        Definition:byte[] * 
        Properties:Property[] -> Warning[] 
public function CreateModel(
    Model : String, 
    Parent : String, 
    Definition : byte[], 
    Properties : Property[]
) : Warning[]

매개 변수

  • Parent
    유형: System.String
    Full name of the folder under which to add the new model.

반환 값

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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

CreateModel

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.

참고 항목

참조

ReportingService2005 클래스

ReportService2005 네임스페이스

관련 자료

모델 디자이너 작업

모델 보안 설정