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)