Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Se aplica a: CRM 2015 on-prem, CRM Online
Retrieves a record.
Espacio de nombres: Microsoft.Xrm.Sdk.Client
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
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: Cadena. 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.
Comentarios
The core implementation of the Retrieve method. For more information, see IOrganizationService.Retrieve.
Para obtener más información, vea the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.
Seguridad de hilo
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.
Plataformas
Plataformas de desarrollo
Windows Vista, Windows Server 2003 y
Plataformas de destino
Windows Vista,Windows XP
Vea también
Referencia
Clase de OrganizationServiceProxy
Miembros de OrganizationServiceProxy
Espacio de nombres de Microsoft.Xrm.Sdk.Client
Otros 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.