Compartilhar via


Método OrganizationServiceProxy.Retrieve

Aplica-se a: CRM 2015 on-prem, CRM Online

Retrieves a record.

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

Sintaxe

'Declaração
Public Function Retrieve ( _
    entityName As String, _
    id As Guid, _
    columnSet As ColumnSet _
) As Entity
public Entity Retrieve (
    string entityName,
    Guid id,
    ColumnSet columnSet
)

Parâmetros

  • entityName
    Type: Cadeia de caracteres. 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.

Valor de Retorno

Type: Entity.
The requested entity.

Comentários

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

Para obter mais informações sobre the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Classe OrganizationServiceProxy
Membros de OrganizationServiceProxy
Namespace Microsoft.Xrm.Sdk.Client

Outros recursos

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

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