SubClassType (Level Interface)

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é.

The SubClassType property of the Level interface contains an enumeration constant that identifies the subclass type of the object.

Applies To:clsAggregationLevel, clsDatabaseLevel, clsCubeLevel, clsPartitionLevel

Data Type

SubClassTypes

Access

Read-only

Notes

Objects that implement the Level interface can have a SubClassType property of sbclsRegular, sbclsLinked, sbclsVirtual, sbclsMining, or sbclsParentChild.

Exemple

Use the following code to check the SubClassType property of a level object.

' Assume an object (dsoLevel) of ClassType clsCubeLevel exists
If dsoLevel.SubClassType = sbclsParentChild Then
  'Code to handle a parent-child level
Else
  'Code to handle other types of levels
End If

Voir aussi

Référence