ReportingService2005.SetModelDefinition 메서드

Sets the definition for a specified model.

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


Public Function SetModelDefinition ( _
    Model As String, _
    Definition As Byte() _
) As Warning()
‘사용 방법
Dim instance As ReportingService2005 
Dim Model As String 
Dim Definition As Byte()
Dim returnValue As Warning()

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

매개 변수

  • Model
    유형: System.String
    The full name of the model for which to set the model definition.

반환 값

유형: array<ReportService2005.Warning[]
An array of Warning objects that describes any warnings that may have occurred during validation of the model definition.


The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions


The definition supplied replaces the existing model definition.

The model ID of the submitted model must match that of the existing model, or an rsModelIDMismatch error is returned.

참고 항목


ReportingService2005 클래스

ReportService2005 네임스페이스