Analysis Services Programming
Measures Collection
The Measures collection holds the measure definitions for a Decision Support Objects (DSO) object. Each of the following objects contains a Measures collection:
- clsCube
- clsPartition
- clsAggregation
Each Measures collection contains measure objects of the same class type. The ContainedClassType property of a Measures collection specifies the class type of the contained objects.
| Class type | Contained class type |
|---|---|
| clsAggregation | clsAggregationMeasure |
| clsCube | clsCubeMeasure |
| clsPartition | clsPartitionMeasure |
Remarks
As with other DSO collections, the AddNew, Find, and Remove methods of Measures collections maintain all necessary parent-child relationships among the objects in the object model.