Sdílet prostřednictvím


MDStores 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 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.

Remarks

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.