clsPartitionMeasure
注意: |
---|
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 |
An object of ClassType clsPartitionMeasure provides a specific implementation of the Decision Support Objects (DSO) Measure interface. This object is used to maintain the measure objects a partition object contains.
An object of ClassType clsPartitionMeasure provides collections and properties through the Measure interface. There are no methods associated with an object of ClassType clsPartitionMeasure.
备注
Measures are the quantitative, numerical columns from the fact table of a cube. When a cube is processed, all of the measures, except for those based on the DistinctCount aggregate function, are aggregated across the dimensions in the cube.
示例
Use the following code to reference an object of ClassType clsPartitionMeasure:
' Assume an object (dsoPartition) of ClassType clsPartition exists.
Dim dsoPartMeasure As DSO.Measure
' Retrieve the first measure associated with the partition.
Set dsoPartMeasure = dsoPartition.Measures(1)
请参阅
参考
Measure Interface
Decision Support Objects Architecture
概念
Working with Cubes and Measures