Open this page in the API Guide

OlapCube.FindLevel 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 (25.2.0.1000)
Syntax
public OlapLevel FindLevel(
	string uniqueName,
	bool forceDiscovery
)

Parameters

uniqueName
Type: System.String
Level unique name.
forceDiscovery
Type: System.Boolean
If set to true 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

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