Condividi tramite


Metodo IDeploymentService.Retrieve

Si applica a: CRM 2015 on-prem, CRM Online

Retrieves a deployment record.

Spazio dei nomi: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Sintassi

'Dichiarazione
<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
)

Parametri

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

Valore restituito

Type: DeploymentObject
The deployment record.

Note

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

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smartphone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

Vedere anche

Riferimento

Interfaccia IDeploymentService
Membri IDeploymentService
Spazio dei nomi Microsoft.Xrm.Sdk.Deployment
RetrieveRequest
Enumerazione DeploymentEntityType

Altre risorse

Use Deployment Entities and Deployment Configuration Settings

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