IDeploymentService.Delete(DeploymentEntityType, EntityInstanceId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.