共用方式為


DeleteModel 方法

Deletes an entire model and all related objects.

命名空間:  Microsoft.MasterDataServices.Deployment
組件:  Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)

語法

'宣告
Public Sub DeleteModel ( _
    modelId As Identifier _
)
'用途
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
)

參數

備註

DeleteModel throws ArgumentNullException if the modelId parameter is null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) .

DeleteModel throws DeploymentOperationException if errors were returned in the OperationResult.