IHierarchyServiceGetHierarchy Method (Guid) |
Gets the default hierarchy from the specified entity.
Namespace:
Dundas.BI.Data.Metadata
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
SyntaxIHierarchy GetHierarchy(
Guid entityId
)
Function GetHierarchy (
entityId As Guid
) As IHierarchy
IHierarchy^ GetHierarchy(
Guid entityId
)
abstract GetHierarchy :
entityId : Guid -> IHierarchy
Parameters
- entityId
- Type: SystemGuid
The parent entity ID.
Return Value
Type:
IHierarchyThe requested hierarchy object.
Exceptions| Exception | Condition |
|---|
| ArgumentException | entityId is Empty or doesn't support hierarchies
or
the entity with the specified entityId has no hierarchies defined within.
|
| NotFoundException |
The hierarchy with the specified name and parent does not exist
or the entity with the specified entityId does not exist.
|
| NoPrivilegeException | The caller does not have permission to access the entity. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also