Levels Collection

ms132846.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

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

备注

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.

请参阅

参考

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

帮助和信息

获取 SQL Server 2005 帮助