OrganizationWebProxyClient.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.WebServiceClient
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public EntityCollection RetrieveMultiple(
QueryBase query
)
Public Function RetrieveMultiple (
query As QueryBase
) As EntityCollection
Parameters
query
Type: Microsoft.Xrm.Sdk.Query.QueryBaseType: QueryBase. A query that determines the set of records to retrieve.
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
OrganizationWebProxyClient Class
Microsoft.Xrm.Sdk.WebServiceClient 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