IDeploymentService.Delete(DeploymentEntityType, EntityInstanceId) Method

Definition

Deletes a deployment record.

public:
 void Delete(Microsoft::Xrm::Sdk::Deployment::DeploymentEntityType entityType, Microsoft::Xrm::Sdk::Deployment::EntityInstanceId ^ id);
[System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Delete", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteResponse")]
public void Delete (Microsoft.Xrm.Sdk.Deployment.DeploymentEntityType entityType, Microsoft.Xrm.Sdk.Deployment.EntityInstanceId id);
[<System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Delete", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteResponse")>]
abstract member Delete : Microsoft.Xrm.Sdk.Deployment.DeploymentEntityType * Microsoft.Xrm.Sdk.Deployment.EntityInstanceId -> unit
Public Sub Delete (entityType As DeploymentEntityType, id As EntityInstanceId)

Parameters

entityType
DeploymentEntityType

The type of deployment entity specified by the id parameter.

id
EntityInstanceId

The ID of the deployment record to delete. See Remarks.

Attributes

Remarks

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

Applies to

See also