IDeploymentService.Delete Method (DeploymentEntityType, EntityInstanceId)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Deletes a deployment record.
Namespace: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)
Syntax
[OperationContractAttribute(Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Delete",
ReplyAction = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteResponse")]
[FaultContractAttribute(typeof(DeploymentServiceFault), Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteDeploymentServiceFaultFault",
Name = "DeploymentServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
void Delete(
DeploymentEntityType entityType,
EntityInstanceId id
)
<OperationContractAttribute(Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Delete",
ReplyAction := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteResponse")>
<FaultContractAttribute(GetType(DeploymentServiceFault), Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteDeploymentServiceFaultFault",
Name := "DeploymentServiceFault", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Sub Delete (
entityType As DeploymentEntityType,
id As EntityInstanceId
)
Parameters
entityType
Type: Microsoft.Xrm.Sdk.Deployment.DeploymentEntityTypeType: DeploymentEntityType. The type of deployment entity specified by the id parameter.
id
Type: Microsoft.Xrm.Sdk.Deployment.EntityInstanceIdType: EntityInstanceId. The ID of the deployment record to delete. See Remarks.
Remarks
The ID of a deployment record is also referred to as an instance tag.
See Also
DeleteRequest
DeploymentEntityType
IDeploymentService Interface
Microsoft.Xrm.Sdk.Deployment Namespace
Deployment entities and deployment configuration settings
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright