Share via


OrganizationServiceContextExtensions.RetrieveByResourceResourceGroup Method (OrganizationServiceContext, Guid, QueryBase)

 

Applies To: Dynamics CRM 2015

Retrieves the resource groups that contain the specified resource. (Developer Extensions)

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

Syntax

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