clsDatabaseLevel

An object of ClassType clsDatabaseLevel provides a specific implementation of the Decision Support Objects (DSO) Level interface. This object provides collections and properties through the Level interface. There are no methods associated with an object of ClassType clsDatabaseLevel.

Remarks

When you add a dimension to a cube, it inherits whatever levels you defined for the database dimension; that is, the database levels you defined become cube levels as well. Similarly, database levels are automatically inherited by the partitions and aggregations you add to a cube. You can add and remove database levels at any time, but you must process the database dimensions and then process all cubes and virtual cubes that use any of the dimensions you changed.

For more information, see Level Interface and About Decision Support Objects.

Example

Use the following code to create a clsDatabaseLevel object:

' Assume the existence of an object (myDim) of ClassType clsDimension

Dim myLev As DSO.Level

Set myLev = myDim.Levels.AddNew("Brand Name")

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