Méthode IDeploymentService.Retrieve

S'applique à: CRM 2015 on-prem, CRM Online

Retrieves a deployment record.

Espace de noms: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (dans Microsoft.Xrm.Sdk.Deployment.dll)

Syntaxe

'Déclaration
<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
)

Paramètres

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

Valeur renvoyée

Type: DeploymentObject
The deployment record.

Remarques

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

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Deuxième Édition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professionnel,Windows Vista,Windows XP

Voir aussi

Référence

Interface de IDeploymentService
Membres IDeploymentService
Espace de noms Microsoft.Xrm.Sdk.Deployment
RetrieveRequest
Énumération DeploymentEntityType

Autres ressources

Use Deployment Entities and Deployment Configuration Settings

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