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


OrganizationServiceContextExtensions.RetrieveBusinessHierarchyBusinessUnit Method (OrganizationServiceContext, Guid, ColumnSet)

 

Applies To: Dynamics CRM 2015

Retrieves all the business units in the business unit hierarchy. (Developer Extensions)

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

Syntax

public static EntityCollection RetrieveBusinessHierarchyBusinessUnit(
    this OrganizationServiceContext context,
    Guid entityId,
    ColumnSet columnSet
)
public:
[ExtensionAttribute]
static EntityCollection^ RetrieveBusinessHierarchyBusinessUnit(
    OrganizationServiceContext^ context,
    Guid entityId,
    ColumnSet^ columnSet
)
static member RetrieveBusinessHierarchyBusinessUnit : 
        context:OrganizationServiceContext *
        entityId:Guid *
        columnSet:ColumnSet -> EntityCollection
<ExtensionAttribute>
Public Shared Function RetrieveBusinessHierarchyBusinessUnit (
    context As OrganizationServiceContext,
    entityId As Guid,
    columnSet As ColumnSet
) As EntityCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.EntityCollection

Returns EntityCollection.

Remarks

This is a method wrapper for the RetrieveBusinessHierarchyBusinessUnitRequest and RetrieveBusinessHierarchyBusinessUnitResponse 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