Partager via


Méthode DeleteModel

Deletes an entire model and all related objects.

Espace de noms :  Microsoft.MasterDataServices.Deployment
Assembly :  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Syntaxe

'Déclaration
Public Sub DeleteModel ( _
    modelId As Identifier _
)
'Utilisation
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
)

Paramètres

Notes

DeleteModel throws ArgumentNullException if the modelId parameter is null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .

DeleteModel throws DeploymentOperationException if errors were returned in the OperationResult.