IDeploymentService.Retrieve Method (DeploymentEntityType, EntityInstanceId)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Retrieves a deployment record.

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

Syntax

[FaultContractAttribute(typeof(DeploymentServiceFault), Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveDeploymentServiceFaultFault", 
    Name = "DeploymentServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Retrieve", 
    ReplyAction = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveResponse")]
DeploymentObject Retrieve(
    DeploymentEntityType entityType,
    EntityInstanceId id
)
<FaultContractAttribute(GetType(DeploymentServiceFault), Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveDeploymentServiceFaultFault",
    Name := "DeploymentServiceFault", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
<OperationContractAttribute(Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Retrieve",
    ReplyAction := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveResponse")>
Function Retrieve (
    entityType As DeploymentEntityType,
    id As EntityInstanceId
) As DeploymentObject

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Deployment.DeploymentObject

Type: DeploymentObject
The deployment record.

Remarks

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

See Also

RetrieveRequest
DeploymentEntityType
IDeploymentService Interface
Microsoft.Xrm.Sdk.Deployment Namespace
Deployment entities and deployment configuration settings

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright