Parent

The Parent property of the Measure interface contains a reference to the parent MDStore object.

Applies To
clsAggregationMeasure clsPartitionMeasure
clsCubeMeasure  

Data Type

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

Access

Read-only

Example

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

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.