An object of the ClassType clsDatabase provides a specific implementation of the Decision Support Objects (DSO) MDStore interface. This object provides collections, methods, and properties through the MDStore interface.
In general, a database contains cubes, which in turn contain partitions, which may in turn contain dimensions, levels, measures, and aggregations. A database may also contain virtual cubes.
For more information about the object model hierarchy, see About Decision Support Objects and Interfaces.
Use the following code to create an object of ClassType clsDatabase:
' Assume an object (dsoServer) of ClassType clsServer exists
Dim dsoDatabase As DSO.MDStore
Set dsoDatabase = dsoServer.MDStores.AddNew("MyDatabase")
Using Decision Support Objects | MDStore Interface |