You can use the EnumerateClasses() method to enlist all subclasses of a single object class or all classes of the same object type in the target namespace.
Table 215 shows the parameters you can specify for the EnumerateClasses() method:
The EnumerateClasses() method enumerates the specified one or more classes or returns one of the following error codes: