OrganizationServiceProxy.Retrieve-methode
Van toepassing op: CRM 2015 on-prem, CRM Online
Retrieves a record.
Naamruimte: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntaxis
'Declaratie
Public Function Retrieve ( _
entityName As String, _
id As Guid, _
columnSet As ColumnSet _
) As Entity
public Entity Retrieve (
string entityName,
Guid id,
ColumnSet columnSet
)
Parameters
- entityName
Type: Tekenreeks. 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.
Retourwaarde
Type: Entity.
The requested entity.
Opmerkingen
The core implementation of the Retrieve method. For more information, see IOrganizationService.Retrieve.
Voor meer informatie over the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.
Thread-veiligheid
Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.
Platforms
Ontwikkelplatforms
Windows Vista, Windows Server 2003, en
Doelplatforms
Windows Vista,Windows XP
Zie ook
Verwijzing
OrganizationServiceProxy-klasse
OrganizationServiceProxy-leden
Microsoft.Xrm.Sdk.Client-naamruimte
Overige resources
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.