A Sandcastle Documented Class Library

# DataCube GetHierarchy Method

Gets the requested IHierarchy by its unique name.

Namespace: Dundas.BI.Entities.DataCubes
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public IHierarchy GetHierarchy(
    	string uniqueName
    )

    Public Function GetHierarchy (
    	uniqueName As String
    ) As IHierarchy

    public:
    virtual IHierarchy^ GetHierarchy(
    	String^ uniqueName
    ) sealed

    abstract GetHierarchy :
            uniqueName : string -> IHierarchy
    override GetHierarchy :
            uniqueName : string -> IHierarchy

#### Parameters

uniqueName
  Type: System
  String
  The unique name of the hierarchy.

#### Return Value

Type: IHierarchy
The hierarchy.

#### Implements

IAnalysisStructure
GetHierarchy(String)
Exceptions

Exception | Condition
--- | ---
ArgumentException | uniqueName is or Empty.
NotFoundException | The hierarchy with the specified uniqueName cannot be found.

See Also

#### Reference

DataCube Class
Dundas.BI.Entities.DataCubes Namespace