共用方式為


EnableAggregations (Level Interface)

[!附註]

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

The EnableAggregations property of the Level interface specifies whether aggregations can be created for the level by the aggregation design algorithm.

Applies To:clsCubeLevel, clsPartitionLevel

Data Type

Boolean

Access

Access depends on the value of the ClassType property of the object.

Class type

Access

clsCubeLevel

R/W

clsPartitionLevel

R

備註

To create aggregations for a level when aggregations are designed for the parent dimension, set the EnableAggregations property of the level to True and set the AggregationUsage property of the dimension to dimAggUsageCustom.