Partager via


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)

Syntax

'Declaration
<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 _
)
[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
)

Parameters

  • 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.

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.

Platforms

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

Reference

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.