An object of ClassType clsPartitionDimension is used to maintain the Dimension objects that are contained within a Partition object. It provides a specific implementation of the Decision Support Objects (DSO) Dimension interface. A clsPartitionDimension object provides collections and properties through the Dimension interface. There are no methods associated with an object of ClassType clsPartitionDimension.
A partition cannot have fewer dimensions than its parent cube.
Use the following code to create a clsPartitionDimension object:
'Assume an object (dsoCube) of ClassType clsCube exists
Dim dsoPart As MDStore
Dim dsoPartDim As DSO.Dimension
'Default partition
Set dsoPart = dsoCube.MDStore(1)
'Add a new dimension to the default partition
Set dsoPartDim = dsoPart.Dimensions.AddNew("Dim 2")
About Decision Support Objects | Dimension Interface |
Using Decision Support Objects |