Level (Decision Support Objects)

ms135506.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The Level object in Decision Support Objects (DSO) provides access to levels associated with dimensions in Microsoft® SQL Server™ 2000 Analysis Services. The Levels collection of the DSO Dimension object provides access to DSO Level objects. In addition, the Levels collection is supported by the Cube, Aggregation, and Partition DSO objects.

All four types of levels are supported with DSO objects. Each level object detailed in the following table uses the Level interface, with the ClassType property set to the appropriate value for the level type as shown.

Level type Level object Level class type

Database level

DbLevel

clsDatabaseLevel

Cube level

CubeLevel

clsCubeLevel

Partition level

PartitionLevel

clsPartitionLevel

Aggregation level

AggregationLevel

clsAggregationLevel

The Level object is used to:

  • Provide access to the member properties associated with a level.
  • Edit the properties, such as level type and custom rollup expression, associated with a level.

请参阅

参考

clsDatabaseLevel
clsCubeLevel
clsPartitionLevel
clsAggregationLevel

概念

Dimension (Decision Support Objects)
Working with Dimensions and Levels

其他资源

Levels (MDX)

帮助和信息

获取 SQL Server 2005 帮助