Bagikan melalui


IDeploymentService.Delete Method (DeploymentEntityType, EntityInstanceId)

 

Applies To: Dynamics CRM 2015

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((DeploymentServiceFault^::typeid), 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(typeof(DeploymentServiceFault), Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/DeleteDeploymentServiceFaultFault",
    Name = "DeploymentServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
abstract Delete : 
        entityType:DeploymentEntityType *
        id:EntityInstanceId -> unit
<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

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

© 2016 Microsoft. All rights reserved. Copyright