MDStores Collection

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

The MDStores collection holds objects that implement the MDStore interface. For example, a myDatabase.MDStores collection contains objects of ClassType clsCube, and a myCube. MDStores collection contains objects of ClassType clsPartition. For more information about this hierarchy, see Decision Support Objects.

Each of the following objects contains an MDStores collection:

  • clsServer
  • clsDatabase
  • clsCube
  • clsPartition

Each MDStores collection contains MDStore objects of the same class type, as noted in the following table. The ContainedClassType property of an MDStores collection specifies the class type of the contained objects.

Class type Contained class type

clsCube

clsPartition

clsDatabase

clsCube

clsPartition

clsAggregation

clsServer

clsDatabase

备注

As with other collections in the Decision Support Objects (DSO) object model, the AddNew, Find, and Remove methods of MDStores collections maintain all necessary parent-child relationships among the objects in the object model.

请参阅

参考

Collections (DSO)
Methods, clsCollection
Properties, clsCollection

帮助和信息

获取 SQL Server 2005 帮助