Поделиться через


Метод ReportingService2006.SetModelDefinition

Sets the definition for a specified model.

Пространство имен:  ReportService2006
Сборка:  ReportService2006 (в ReportService2006.dll)

Синтаксис

'Декларация
Public Function SetModelDefinition ( _
    Model As String, _
    Definition As Byte() _
) As Warning()
'Применение
Dim instance As ReportingService2006 
Dim Model As String 
Dim Definition As Byte()
Dim returnValue As Warning()

returnValue = instance.SetModelDefinition(Model, _
    Definition)
public Warning[] SetModelDefinition(
    string Model,
    byte[] Definition
)
public:
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 fully qualified URL for the model including the file name and .smdl file name extension.

Возвращаемое значение

Тип: array<ReportService2006.Warning[]
An array of Warning objects that describe any warnings that occurred during validation of the model definition.

Замечания

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

EditListItems

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.

См. также

Справочник

ReportingService2006 Класс

Пространство имен ReportService2006