The Create Object method allows you to create a WinNT object on the designated server.
Prior to creating the object, the provider will validate that any properties selected to be set are provided and valid for the object type to be created. If inconsistencies are found, or if any required properties are missing, an exception will be thrown.
The Create Object method returns the WinNT-style path to the newly created object.
For the Create Object method, the action for rollback consists of calling the Delete Object method to delete the newly created object. After creating a new object, the provider stores the path to the newly created object so it can delete the object if rollback is necessary.
Example XML Request
The following is an example of an XML request for the Create Object method of the Computer Management Provider:
Example XML Response
The following is an example of an XML response for the Create Object method of the Computer Management Provider:
Computer Management Provider API for: