ClassType

The ClassType property of the Level interface contains an enumeration constant identifying the specific class type.

Applies To
clsAggregationLevel clsDatabaseLevel
clsCubeLevel clsPartitionLevel

Data Type

ClassTypes (an enumeration)

For level objects, ClassType is set to one of the following values:

For a complete list of class types, see Enumerations.

Access

Read-only

Example

Use the following code to return the class type of a level object and determine which object class has been returned:

'Assume an object (dsoLevel) of ClassType clsLevel exists

Dim objClass As ClassTypes

objClassType = dsoLevel.ClassType

Select Case objClassType

  Case clsAggregationLevel

    ' AggregationLevel

  Case clsCubeLevel

    ' CubeLevel

  Case clsDatabaseLevel

    ' DatabaseLevel

  Case clsPartitionLevel

    ' PartitionLevel

End Select

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.