OrganizationServiceContextExtensions.RetrieveByResourcesService Method (OrganizationServiceContext, Guid(), QueryBase)

Applies To: Dynamics CRM 2015

Retrieves a collection of services related to the specified set of services. (Developer Extensions)

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


public static EntityCollection RetrieveByResourcesService(
    this OrganizationServiceContext context,
    Guid[] resourceIds,
    QueryBase query
static EntityCollection^ RetrieveByResourcesService(
    OrganizationServiceContext^ context,
    array<Guid>^ resourceIds,
    QueryBase^ query
static member RetrieveByResourcesService : 
        context:OrganizationServiceContext *
        resourceIds:Guid[] *
        query:QueryBase -> EntityCollection
Public Shared Function RetrieveByResourcesService (
    context As OrganizationServiceContext,
    resourceIds As Guid(),
    query As QueryBase
) As EntityCollection


Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.


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

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright