Share via


clsPartitionDimension

Notes

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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.

Notes

A partition cannot have fewer dimensions than its parent cube.

Exemple

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)