IDeploymentService.Delete Method

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Deletes a deployment record.

Namespace: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)


<OperationContractAttribute(Action:="", ReplyAction:="")> _
<FaultContractAttribute(GetType(DeploymentServiceFault), Action:="", Name:="DeploymentServiceFault", Namespace:="")> _
Sub Delete ( _
    entityType As DeploymentEntityType, _
    id As EntityInstanceId _
[OperationContractAttribute(Action="", ReplyAction="")] 
[FaultContractAttribute(typeof(DeploymentServiceFault), Action="", Name="DeploymentServiceFault", Namespace="")] 
void Delete (
    DeploymentEntityType entityType,
    EntityInstanceId id


  • entityType
    Type: DeploymentEntityType. The type of deployment entity specified by the id parameter.
  • id
    Type: EntityInstanceId. The ID of the deployment record to delete. See Remarks.


The ID of a deployment record is also referred to as an instance tag.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions), ,Windows 8 (All Versions)

See Also


IDeploymentService Interface
IDeploymentService Members
Microsoft.Xrm.Sdk.Deployment Namespace
DeleteRequest Class
DeploymentEntityType Enumeration

Other Resources

Use Deployment Entities and Deployment Configuration Settings

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.