The Levels collections holds the level definitions for a Decision Support Objects (DSO) object. Each of the following objects implements the Dimension interface and contains a Levels collection:
Each Levels collection contains level objects of the same class type. The ContainedClassType property of a Levels collection specifies the class type of the contained objects.
| Object.ClassType | Object.Levels.ContainedClassType |
|---|---|
| clsAggregationDimension | clsAggregationLevel |
| clsCubeDimension | clsCubeLevel |
| clsDatabaseDimension | clsDatabaseLevel |
| clsPartitionDimension | clsPartitionLevel |
As with other collections in the DSO object model, the AddNew, Find, and Remove methods of Levels collections maintain all necessary parent-child relationships among the objects in the object model.
| About Decision Support Objects | Collections |
| Collection Methods | Collection Properties |