Share via


OrganizationServiceContextExtensions.RetrieveMultiple Method (OrganizationServiceContext, QueryBase)

 

Applies To: Dynamics CRM 2015

Retrieves a collection of records. The query can be specified using a query expression or a FetchXML query. (Developer Extensions)

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

Syntax

public static EntityCollection RetrieveMultiple(
    this OrganizationServiceContext service,
    QueryBase query
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveMultiple(
    OrganizationServiceContext^ service,
    QueryBase^ query
)
static member RetrieveMultiple : 
        service:OrganizationServiceContext *
        query:QueryBase -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveMultiple (
    service As OrganizationServiceContext,
    query As QueryBase
) As EntityCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.

Remarks

This is a method wrapper for the RetrieveMultipleRequest and RetrieveMultipleResponse classes. See the documentation in the Request class for more information about this message.

See Also

RetrieveMultiple Overload
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright