SubClassType (Level Interface)
Note
This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
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
Access
Read-only
Remarks
Objects that implement the Level interface can have a SubClassType property of sbclsRegular, sbclsLinked, sbclsVirtual, sbclsMining, or sbclsParentChild.
Example
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