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)

Syntax

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

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.

Remarks

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