Open this page in the API Guide

IOlapCube.FindLevel Method

Finds a hierarchy level 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
OlapLevel FindLevel(
	string uniqueName,
	bool forceDiscovery
)

Parameters

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

Return Value

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