Freigeben über


OrganizationServiceProxy.Retrieve Methode

Retrieves a record.

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

Syntax

'Declaration
Public Function Retrieve ( _
    entityName As String, _
    id As Guid, _
    columnSet As ColumnSet _
) As Entity
public Entity Retrieve (
    string entityName,
    Guid id,
    ColumnSet columnSet
)

Parameter

  • entityName
    Type: Zeichenfolge. The logical name of the entity specified in the entityId parameter.
  • id
    Type: GUID. The ID of the record you want to retrieve.
  • columnSet
    Type: ColumnSet. A query that specifies the set of columns, or attributes, to retrieve.

Rückgabewert

Type: Entity.
The requested entity.

Anmerkungen

The core implementation of the Retrieve method. For more information, see IOrganizationService.Retrieve.

Weitere Informationen zu the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

OrganizationServiceProxy Klasse
OrganizationServiceProxy Mitglieder
Microsoft.Xrm.Sdk.Client Namespace

Weitere Ressourcen

Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service

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