OrganizationServiceContextExtensions.RetrieveParentGroupsResourceGroup Method (OrganizationServiceContext, Guid, QueryBase)
Applies To: Dynamics CRM 2015
Retrieves a collection of the parent resource groups of the specified resource group (scheduling group). (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static EntityCollection RetrieveParentGroupsResourceGroup(
this OrganizationServiceContext context,
Guid resourceGroupId,
QueryBase query
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveParentGroupsResourceGroup(
OrganizationServiceContext^ context,
Guid resourceGroupId,
QueryBase^ query
)
static member RetrieveParentGroupsResourceGroup :
context:OrganizationServiceContext *
resourceGroupId:Guid *
query:QueryBase -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveParentGroupsResourceGroup (
context As OrganizationServiceContext,
resourceGroupId As Guid,
query As QueryBase
) As EntityCollection
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- resourceGroupId
Type: System.Guid
- query
Type: Microsoft.Xrm.Sdk.Query.QueryBase
Return Value
Type: Microsoft.Xrm.Sdk.EntityCollection
Returns EntityCollection.
Remarks
This is a method wrapper for the RetrieveParentGroupsResourceGroupRequest and RetrieveParentGroupsResourceGroupResponse 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