MDStores Collection

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 About Decision Support Objects.

Each of the following objects contains an MDStores collection:

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

Object.ClassType Object.MDStores.ContainedClassType
clsCube clsPartition
clsDatabase clsCube (see exception below)
clsPartition clsAggregation
clsServer clsDatabase


Note The MDStores collection of an object of ClassType clsDatabase contains objects of ClassType clsCube. The ContainedClassType property of this MDStores collection will return clsCube regardless of whether the objects are regular or virtual cubes. In this case you must check the SubClassType property of each object to determine whether it is sbclsRegular or sbclsVirtual.


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.

See Also
About Decision Support Objects Collections
Collection Methods Collection Properties

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.