IDeploymentService.Retrieve(DeploymentEntityType, EntityInstanceId) Method

Definition

Retrieves a deployment record.

public:
 Microsoft::Xrm::Sdk::Deployment::DeploymentObject ^ Retrieve(Microsoft::Xrm::Sdk::Deployment::DeploymentEntityType entityType, Microsoft::Xrm::Sdk::Deployment::EntityInstanceId ^ id);
[System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Retrieve", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveResponse")]
public Microsoft.Xrm.Sdk.Deployment.DeploymentObject Retrieve (Microsoft.Xrm.Sdk.Deployment.DeploymentEntityType entityType, Microsoft.Xrm.Sdk.Deployment.EntityInstanceId id);
[<System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Retrieve", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/RetrieveResponse")>]
abstract member Retrieve : Microsoft.Xrm.Sdk.Deployment.DeploymentEntityType * Microsoft.Xrm.Sdk.Deployment.EntityInstanceId -> Microsoft.Xrm.Sdk.Deployment.DeploymentObject
Public Function Retrieve (entityType As DeploymentEntityType, id As EntityInstanceId) As DeploymentObject

Parameters

entityType
DeploymentEntityType

The type of deployment entity specified by the id parameter.

id
EntityInstanceId

The ID of the deployment record to retrieve. See Remarks.

Returns

The deployment record.

Attributes

Remarks

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

Applies to

See also