clsAggregationMeasure

[!附註]

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

An object of ClassType clsAggregationMeasure provides a specific implementation of the Decision Support Objects (DSO) Measure interface. It is used to maintain the measure objects contained within an aggregation object. This object provides collections and properties through the Measure interface. There are no methods associated with an object of ClassType clsAggregationMeasure.

備註

When a cube is processed, measures are aggregated across the dimensions in the cube.

範例

Use the following code to reference a measure of an aggregation:

'Assume an object (dsoAggregation) of ClassType clsAggregation exists.
Dim dsoAggMeasure As DSO.Measure
Set dsoAggMeasure = dsoAggregation.Measures("Unit Sales")