Share via


IDeploymentService.Retrieve Method (DeploymentEntityType, EntityInstanceId)

 

Applies To: Dynamics CRM 2015

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((DeploymentServiceFault^::typeid), 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(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")>]
abstract Retrieve : 
        entityType:DeploymentEntityType *
        id:EntityInstanceId -> DeploymentObject
<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

© 2016 Microsoft. All rights reserved. Copyright