Share via


Levels Collection

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The Levels collection holds the level definitions for a Decision Support Objects (DSO) object. Each of the following objects contains a Levels collection:

  • clsDatabaseDimension
  • clsCubeDimension
  • clsPartitionDimension
  • clsAggregationDimension

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.

Class type Contained class type

clsAggregationDimension

clsAggregationLevel

clsCubeDimension

clsCubeLevel

clsDatabaseDimension

clsDatabaseLevel

clsPartitionDimension

clsPartitionLevel

Remarks

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.

See Also

Reference

Collections (DSO)
Methods, clsCollection
Properties, clsCollection
Dimension Interface

Help and Information

Getting SQL Server 2005 Assistance