Compartilhar via


Método IDeploymentService.Retrieve

Aplica-se a: CRM 2015 on-prem, CRM Online

Retrieves a deployment record.

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

Sintaxe

'Declaração
<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
)

Parâmetros

  • 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.

Valor de Retorno

Type: DeploymentObject
The deployment record.

Comentários

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

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

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 Vista,Windows XP

Consulte também

Referência

Interface IDeploymentService
Membros de IDeploymentService
Namespace Microsoft.Xrm.Sdk.Deployment
RetrieveRequest
Enumeração DeploymentEntityType

Outros recursos

Use Deployment Entities and Deployment Configuration Settings

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