Dimensions Collection

注意注意

  下一版本的 Microsoft SQL Server 将删除该功能。 请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

A Dimensions collection holds the dimension definitions for a Decision Support Objects (DSO) object. Each of the following objects contains a Dimensions collection:

  • clsDatabase

  • clsCube

  • clsPartition

  • clsAggregation

Each Dimensions collection contains dimension objects of the same class type. The ContainedClassType property of a Dimensions collection specifies the class type of the contained objects.

注释

As with other collections in the DSO object model, the AddNew, Find, and Remove methods of Dimensions collections maintain all necessary parent-child relationships among the objects in the object model.