You can use the ReturnToStoragePool() method to delete an IBMTS2145_StorageVolume instance if it is not mapped to any host. The ReturnToStoragePool() method belongs to the IBMTS2145_StorageConfigurationService class.
Table 271 shows the parameters you can for the ReturnToStoragePool() method:
| Parameter | Type | Description |
|---|---|---|
| Job | String | Set to Null |
| TheElement | String | Specifies the IBMTS2145_StorageVolume instance to be deleted |
The ReturnToStoragePool() method returns one of the following error codes: