ModelDeployer.DeleteModel Method

Deletes an entire model and all related objects.

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

'Declaration
Public Sub DeleteModel ( _
    modelId As Identifier _
)
'Usage
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
)

Parameters

Remarks

DeleteModel throws ArgumentNullException if the modelId parameter is nulla null reference (Nothing in Visual Basic).

DeleteModel throws DeploymentOperationException if errors were returned in the OperationResult.