Поделиться через


OrganizationServiceContextExtensions.RetrieveByGroupResource Method (OrganizationServiceContext, Guid, QueryBase)

 

Applies To: Dynamics CRM 2015

Retrieves all the resource groups to which the specified resource belongs. (Developer Extensions)

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

Syntax

public static EntityCollection RetrieveByGroupResource(
    this OrganizationServiceContext context,
    Guid resourceGroupId,
    QueryBase query
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveByGroupResource(
    OrganizationServiceContext^ context,
    Guid resourceGroupId,
    QueryBase^ query
)
static member RetrieveByGroupResource : 
        context:OrganizationServiceContext *
        resourceGroupId:Guid *
        query:QueryBase -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveByGroupResource (
    context As OrganizationServiceContext,
    resourceGroupId 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 RetrieveByGroupResourceRequest and RetrieveByGroupResourceResponse 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