Share via


OrganizationServiceProxy.RetrieveMultiple Method (QueryBase)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Retrieves a collection of records.

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

Syntax

public EntityCollection RetrieveMultiple(
    QueryBase query
)
Public Function RetrieveMultiple (
    query As QueryBase
) As EntityCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Type: EntityCollection.
A collection of entity records.

Implements

IOrganizationService.RetrieveMultiple(QueryBase)

Remarks

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

For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle exceptions in your code.

See Also

OrganizationServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace
Troubleshooting and error handling
Use the Organization Service to read and write data or metadata
Retrieve data with queries using SDK assemblies

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright