You can use the CreateInstance() method to create a new instance of an object in the target namespace. The new instance must be based on a class that is already defined in the namespace.
Table 213 shows the parameters you can specify for CreateInstance() method:
| Parameter | Type | Description |
|---|---|---|
| Instance | String | Defines the name of the instance to create |
The CreateInstance() method creates the specified class or returns one of the following error codes: