You can use the EnumerateInstanceNames() method to enlist all the names of the instances of the same object class in the target namespace.
Table 218 shows the parameters you can specify the following parameters of the EnumerateInstanceNames() method:
| Parameter | Type | Description |
|---|---|---|
| ClassName | String | Defines the name of the class for which instances are to be returned. |
The EnumerateInstanceNames() method enumerates the specified names of the instances or returns one of the following error codes: