Partager via


IDeploymentService.Retrieve Method

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Retrieves a deployment record.

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

Syntax

'Declaration
<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
[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
)

Parameters

  • entityType
    Type: DeploymentEntityType. The type of deployment entity specified by the id parameter.
  • id
    Type: EntityInstanceId. The ID of the deployment record to retrieve. See Remarks.

Return Value

Type: DeploymentObject
The deployment record.

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions), ,Windows 8 (All Versions)

See Also

Reference

IDeploymentService Interface
IDeploymentService Members
Microsoft.Xrm.Sdk.Deployment Namespace
RetrieveRequest
DeploymentEntityType Enumeration

Other Resources

Use Deployment Entities and Deployment Configuration Settings

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.