clsPartitionDimension

注意注意

  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

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.

注释

A partition cannot have fewer dimensions than its parent cube.

示例

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)