A Sandcastle Documented Class Library

# DataCube TryGetHierarchy Method

Tries to get 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 bool TryGetHierarchy(
    	string uniqueName,
    	out IHierarchy hierarchy
    )

    Public Function TryGetHierarchy (
    	uniqueName As String,
    	<OutAttribute> ByRef hierarchy As IHierarchy
    ) As Boolean

    public:
    virtual bool TryGetHierarchy(
    	String^ uniqueName,
    	[OutAttribute] IHierarchy^% hierarchy
    ) sealed

    abstract TryGetHierarchy :
            uniqueName : string *
            hierarchy : IHierarchy byref -> bool
    override TryGetHierarchy :
            uniqueName : string *
            hierarchy : IHierarchy byref -> bool

#### Parameters

uniqueName
  Type: System
  String
  The unique name of the hierarchy.
hierarchy
  Type: Dundas.BI.Data.Metadata
  IHierarchy
  The hierarchy.

#### Return Value

Type: Boolean
if the hierarchy was found; otherwise
.

#### Implements

IAnalysisStructure
TryGetHierarchy(String, IHierarchy
)
See Also

#### Reference

DataCube Class
Dundas.BI.Entities.DataCubes Namespace