This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
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.
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")