Partilhar via


clsDatabaseLevel

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.

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, the cube 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.

Example

Use the following code to create an object of ClassType clsDatabaseLevel:

' Assume the existence of an object (myDim) of ClassType clsDimension
Dim myLev As DSO.Level
Set myLev = myDim.Levels.AddNew('Brand Name')

See Also

Reference

Collections, clsDatabaseLevel
Level Interface
Properties, clsDatabaseLevel

Help and Information

Getting SQL Server 2005 Assistance