Dela via


clsPartitionDimension

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

An object of ClassType clsPartitionDimension is used to maintain the dimension objects that a partition object contains. It provides a specific implementation of the Decision Support Objects (DSO) Dimension interface for dimensions associated with a specific partition. An object of ClassType clsPartitionDimension object provides collections and properties through the Dimension interface. There are no methods associated with an object of ClassType clsPartitionDimension.

Remarks

A partition cannot have fewer dimensions than its parent cube.

Example

Use the following code to reference an object of ClassType clsPartitionDimension:

    ' Assume an object (dsoCube) of ClassType clsCube exists.
    Dim dsoPart As MDStore
    Dim dsoPartDim As DSO.Dimension

    ' Retrieve the default partition.
Set dsoPart = dsoCube.MDStore(1)