Parent

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

Applies To
clsAggregationDimension clsDatabaseDimension
clsCubeDimension clsPartitionDimension

Data Type

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

Access

Read-only

Example

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

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

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