Open this page in the API Guide

CubePerspective.FindHierarchy Method (String, Boolean)

Finds the hierarchy by its unique name.

Namespace:  Dundas.BI.Entities.CubePerspectives
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public 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.

Implements

IOlapCube.FindHierarchy(String, Boolean)
Exceptions
ExceptionCondition
ArgumentExceptionThrown when uniqueName is invalid.
See Also