The Parent property of the Measure interface contains a reference to the parent MDStore object.
| clsAggregationMeasure | clsPartitionMeasure |
| clsCubeMeasure |
MDStore
The class of the parent object depends on the class of the measure object.
| Measure object class | Parent object class |
|---|---|
| clsCubeMeasure | clsCube |
| clsPartitionMeasure | clsPartition |
| clsAggregationMeasure | clsAggregation |
Read-only
Use the following code to determine the class type of the parent object:
'Assume an object (dsoPartMea) of ClassType clsPartitionMeasure exists
Dim objParent As MDStore
Set objParent = dsoPartMea.Parent
Dim ClassType As ClassTypes
ClassType = objParent.ClassType
Select Case ClassType
Case clsCube
' commands for a Cube object
Case clsPartition
' commands for a Partition object
Case clsAggregation
' commands for an Aggregation object
End Select
| About Decision Support Objects | Using Decision Support Objects |
| Properties Cross-Reference |