共用方式為


clsAggregationLevel

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

An object of ClassType clsAggregationLevel provides a specific implementation of the Decision Support Objects (DSO) Level interface. It is used to maintain the level objects associated with an MDStore object that has a ClassType of clsAggregation. This object provides collections and properties through the Level interface. There are no methods associated with an object of ClassType clsAggregationLevel.

備註

Levels describe the dimension hierarchy from the highest (most aggregated) level to the lowest (most detailed) level of data. The (All) level of a dimension is the top level of a dimension; it includes all the members of subordinate levels.

範例

Use the following code to reference a level of an existing aggregation:

' Assume the existence of an object (myAgg) of 
' ClassType clsAggregationDimension
Dim myLev As DSO.Level
Set myLev = myAgg.Levels("Brand Name")