Levels Collection

ms132846.note(zh-tw,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 協助