Share via


OrganizationServiceProxy.RetrieveMultiple Method (QueryBase)

 

Applies To: Dynamics CRM 2015

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:
virtual EntityCollection^ RetrieveMultiple(
    QueryBase^ query
) sealed
abstract RetrieveMultiple : 
        query:QueryBase -> EntityCollection
override RetrieveMultiple : 
        query:QueryBase -> EntityCollection
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 IOrganizationService web service to read and write data or metadata
Retrieve data with queries

Return to top

© 2016 Microsoft. All rights reserved. Copyright