CrmServiceClient.Retrieve(String, Guid, ColumnSet) Method

Definition

Issues a Retrieve Request to CRM

public:
 virtual Microsoft::Xrm::Sdk::Entity ^ Retrieve(System::String ^ entityName, Guid id, Microsoft::Xrm::Sdk::Query::ColumnSet ^ columnSet);
public Microsoft.Xrm.Sdk.Entity Retrieve (string entityName, Guid id, Microsoft.Xrm.Sdk.Query.ColumnSet columnSet);
abstract member Retrieve : string * Guid * Microsoft.Xrm.Sdk.Query.ColumnSet -> Microsoft.Xrm.Sdk.Entity
override this.Retrieve : string * Guid * Microsoft.Xrm.Sdk.Query.ColumnSet -> Microsoft.Xrm.Sdk.Entity
Public Function Retrieve (entityName As String, id As Guid, columnSet As ColumnSet) As Entity

Parameters

entityName
String

Entity name to request

id
Guid

ID of the entity to request

columnSet
ColumnSet

ColumnSet to request

Returns

Entity object

Implements

Remarks

This method is a wrapper for IOrganizationService.Retrieve(String, Guid, ColumnSet).

Applies to