Partager via


CrmOrganizationServiceContext.Retrieve Method (String, Guid, ColumnSet)

 

Applies To: Dynamics CRM 2015

Retrieves a record. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public Entity Retrieve(
    string entityName,
    Guid id,
    ColumnSet columnSet
)
public:
virtual Entity^ Retrieve(
    String^ entityName,
    Guid id,
    ColumnSet^ columnSet
) sealed
abstract Retrieve : 
        entityName:string *
        id:Guid *
        columnSet:ColumnSet -> Entity
override Retrieve : 
        entityName:string *
        id:Guid *
        columnSet:ColumnSet -> Entity
Public Function Retrieve (
    entityName As String,
    id As Guid,
    columnSet As ColumnSet
) As Entity

Parameters

  • entityName
    Type: System.String

    Type: String. The logical name of the entity specified in the entityId parameter.

  • id
    Type: System.Guid

    Type: Guid. The ID of the record you want to retrieve.

Return Value

Type: Microsoft.Xrm.Sdk.Entity

Type: Entity
The retrieved record.

Implements

IOrganizationService.Retrieve(String, Guid, ColumnSet)

Remarks

Extends the core implementation of the IOrganizationService.Retrieve method.

See Also

CrmOrganizationServiceContext Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Developer extensions context object model (Dynamics CRM 2015)

Return to top

© 2017 Microsoft. All rights reserved. Copyright