ModelDeployer.DeleteModel Método
Deletes an entire model and all related objects.
Espacio de nombres: Microsoft.MasterDataServices.Deployment
Ensamblado: Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)
Sintaxis
'Declaración
Public Sub DeleteModel ( _
modelId As Identifier _
)
'Uso
Dim instance As ModelDeployer
Dim modelId As Identifier
instance.DeleteModel(modelId)
public void DeleteModel(
Identifier modelId
)
public:
void DeleteModel(
Identifier^ modelId
)
member DeleteModel :
modelId:Identifier -> unit
public function DeleteModel(
modelId : Identifier
)
Parámetros
- modelId
Tipo: Microsoft.MasterDataServices.Services.DataContracts.Identifier
The Identifier of the model to delete.
Comentarios
DeleteModel throws ArgumentNullException if the modelId parameter is nulles una referencia NULL (Nothing en Visual Basic)..
DeleteModel throws DeploymentOperationException if errors were returned in the OperationResult.