Метод ModelDeployer.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
)
Параметры
- modelId
Тип: Microsoft.MasterDataServices.Services.DataContracts.Identifier
The Identifier of the model to delete.
Замечания
DeleteModel throws ArgumentNullException if the modelId parameter is nullпустая ссылка (Nothing в Visual Basic).
DeleteModel throws DeploymentOperationException if errors were returned in the OperationResult.