Version

TryGetHierarchy(String,Hierarchy) Method

Returns a reference to the Hierarchy with the specified unique name.
Syntax
'Declaration
 
Public Function TryGetHierarchy( _
   ByVal hierarchyUniqueName As String, _
   ByRef hierarchy As Infragistics.Olap.Core.Data.Hierarchy _
) As Boolean
public bool TryGetHierarchy( 
   string hierarchyUniqueName,
   out Infragistics.Olap.Core.Data.Hierarchy hierarchy
)

Parameters

hierarchyUniqueName
The value of the UniqueName property of the hierarchy to retrieve.
hierarchy
[out] Upon return, contains a reference to the Hierarchy, or null if no hierarchy was found.

Return Value

True if a hierarchy with the specified unique name exists.
Remarks

Calling this method before the data source has been initialized causes an exception to be thrown.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also