![]() |
---|
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 |
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
备注
Objects that implement the Level interface can have a SubClassType property of sbclsRegular, sbclsLinked, sbclsVirtual, sbclsMining, or sbclsParentChild.
示例
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