Open this page in the API Guide

IOlapCube.FindHierarchy Method

Finds the hierarchy by its unique name.

Namespace:  Dundas.BI.Data.Metadata.Olap
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
OlapHierarchy FindHierarchy(
	string uniqueName,
	bool forceDiscovery
)

Parameters

uniqueName
Type: System.String
The unique name of the hierarchy.
forceDiscovery
Type: System.Boolean
If set to true force hierarchy loading from the database, if not found in the cube.

Return Value

Type: OlapHierarchy
The OlapHierarchy object or null if not found.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when uniqueName is invalid.
See Also