EnumerateInstanceNames() Intrinsic methods ExecQuery()

You can use the EnumerateInstanceNames() method to enlist all the names of the instances of the same object class in the target namespace.

Parameters

Table 218 shows the parameters you can specify the following parameters of the EnumerateInstanceNames() method:

Table 218. EnumerateInstanceNames() parameters
Parameter Type Description
ClassName String Defines the name of the class for which instances are to be returned.
Return values

The EnumerateInstanceNames() method enumerates the specified names of the instances or returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004