IHierarchyServiceGetHierarchy Method (Guid, String) |
Gets the hierarchy using the specified parent entity ID and the hierarchy unique name.
Namespace:
Dundas.BI.Data.Metadata
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxIHierarchy GetHierarchy(
Guid entityId,
string uniqueName
)
Function GetHierarchy (
entityId As Guid,
uniqueName As String
) As IHierarchy
IHierarchy^ GetHierarchy(
Guid entityId,
String^ uniqueName
)
abstract GetHierarchy :
entityId : Guid *
uniqueName : string -> IHierarchy
Parameters
- entityId
- Type: SystemGuid
The parent entity ID. - uniqueName
- Type: SystemString
The unique name of the hierarchy.
Return Value
Type:
IHierarchyThe requested hierarchy object.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | uniqueName is . |
| ArgumentException | entityId is Empty or doesn't support hierarchies
or
uniqueName is empty or .
|
| 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