Partager via


clsPartitionLevel

[!REMARQUE]

  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 clsPartitionLevel provides a specific implementation of the Decision Support Objects (DSO) Level interface for levels associated with a partition. It is used to maintain the levels objects a partition object contains.

An object of ClassType clsPartitionLevel provides collections and properties through the Level interface. There are no methods associated with this object.

Notes

Levels describe the dimension hierarchy from the highest (most aggregated) level to the lowest (most detailed) level of data. The (All) level of a dimension is the top level of a dimension, and includes all the members of all the levels.

Exemple

Use the following code to reference a clsPartitionLevel object:

' Assume an object (dsoPart) of ClassType clsPartition exists.
Dim dsoLev As DSO.Level
' Retrieve the first level associated with the partition.
Set dsoLev = dsoPart.Levels(1)