The Parent property of the Dimension interface contains a reference to the parent MDStore object.
| clsAggregationDimension | clsDatabaseDimension |
| clsCubeDimension | clsPartitionDimension |
MDStore
The class of the parent object depends on the class of the dimension object.
| Dimension object class | Parent object class |
|---|---|
| clsDatabaseDimension | clsDatabase |
| clsCubeDimension | clsCube |
| clsPartitionDimension | clsPartition |
| clsAggregationDimension | clsAggregation |
Read-only
Use the following code to obtain the parent of a dimension object:
'Assume an object (dsoDim) of ClassType clsDimension exists
Dim objClassType As ClassTypes
objClassType = dsoDim.Parent
Select Case objClassType
Case clsDatabase
'Code for database parent object
Case clsCube
'Code for cube/virtual cube parent object
Case clsPartiton
'Code for partition parent object
Case clsAggregation
'Code for aggregation parent object
End Select
| About Decision Support Objects | Using Decision Support Objects |
| Properties Cross-Reference |