Collections, MDStore Interface

The MDStore interface supports the following collections.

Collection Description
Commands Collection of user-defined commands or sequence of commands.
CustomProperties Collection of user-defined properties.
DataSources Collection of objects specifying a data provider.
Dimensions Collection that holds the dimension definitions for an object.
MDStores Collection that holds MDStore objects.
Measures Collection that holds the measures.
Roles Collection that holds the user role definitions for Cube and Database objects.

The following table shows the class types of the objects each collection can contain.

Collection Class type of contained objects
Commands clsCubeCommand
clsDatabaseCommand
CustomProperties Property
DataSources clsDatasource
Dimensions clsAggregationDimension
clsCubeDimension
clsDatabaseDimension
clsPartitionDimension
MDStores clsAggregation
clsCube
clsDatabase
clsPartition
Measures clsAggregationMeasure
clsCubeMeasure
clsPartitionMeasure
Roles clsCubeRole
clsDatabaseRole

Access Cross-Reference

The following table shows whether a collection is read/write (R/W), read-only (R), or not applicable (n/a) for each of the MDStore objects.

Collection clsDatabase clsCube clsPartition clsAggregation
Commands R/W R/W n/a n/a
Custom
Properties
R/W R/W R/W R/W
DataSources R/W R/W* R/W n/a
Dimensions R/W R/W R R
MDStores R/W R/W R/W R
Measures n/a R/W R R
Roles R/W R/W n/a n/a
*This property is not applicable (n/a) for virtual cubes (that is, those of SubClassType sbclsVirtual).

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