GetClass() Intrinsic methods GetInstance()

You can use the GetClass() method to retrieve a single object class from the target namespace.

Parameters

Table 220 shows the parameters you can specify for the GetClass() method:

Table 220. GetClass() parameters
Parameter Type Description
ClassName String Defines the name of the class to retrieve
LocalOnly Boolean If set to TRUE, returns all properties, methods, and qualifiers overridden within the definition of the class
IncludeQualifiers Boolean If set to TRUE, returns all qualifiers for the class, its properties, methods, or method parameters; if set to FALSE, returns no qualifiers
IncludeClassOrigin Boolean If set to TRUE, returns the CLASSORIGIN attribute of the class
Return values

The GetClass() method returns the specified class or one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004