DimensionLevels Property

The DimensionLevels property returns a DimensionLevels collection.

Syntax

object .DimensionLevels

Applies To

DateDimension Object

Dimension Object

Discussion

The Levels collection contains a list of unique levels in the dimension. In cases where a dimension has alternate drill-down paths, an individual level may be included more than once in the dimension; however, this collection contains only one reference to that level, no matter how often it appears in the dimension.

When a level is in more than one drill-down path, use the Context property to specify the path.

A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.

Type

Object - DimensionLevels

Access

Read

Examples

objLevel = objModel.Dimensions("Products").DimensionLevels(1)