OlapCubeFindLevel Method (String, Boolean)

Finds the level by unique name.

Namespace:  Dundas.BI.Data.Metadata.Olap
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public OlapLevel FindLevel(
	string uniqueName,
	bool forceDiscovery
)

Parameters

uniqueName
Type: SystemString
Level unique name.
forceDiscovery
Type: SystemBoolean
If set to force level loading from the database if not found in the cube.

Return Value

Type: OlapLevel
An instance of OlapLevelor null if not found.

Implements

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