Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the definition for a specified model.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
'Declaration
Public Function SetModelDefinition ( _
Model As String, _
Definition As Byte() _
) As Warning()
'Usage
Dim instance As ReportingService2005
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[]
Parameter
- Model
Typ: System.String
The full name of the model for which to set the model definition.
- Definition
Typ: array<System.Byte[]
A byte array containing the XML model definition. The XML data is defined by the https://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/ Semantic Model Definition Language .
Rückgabewert
Typ: array<ReportService2005.Warning[]
An array of Warning objects that describes any warnings that may have occurred during validation of the model definition.
Hinweise
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.