Condividi tramite


SubClassType (Level Interface)

[!NOTA]

  Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.

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

Osservazioni

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

Esempio

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

Vedere anche

Riferimento