ClassType

The ClassType property of the Command interface contains an enumeration constant identifying the class designation within the Decision Support Objects (DSO) object model.

Applies To
clsCubeCommand clsDatabaseCommand

Data Type

ClassTypes (an enumeration)

Access

Read-only

Remarks

For a complete list of class types, see Enumerations.

Example

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

' Assume the existence of object CommandObject

Dim ClassType As ClassTypes

ClassType = CommandObject.ClassType

Select Case ClassType

   Case clsDatabaseCommand

        ' commands for a database command

   Case clsCubeCommand

        ' commands for a CubeCommand

   Case Else

        ' not a Command object

End Select

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

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