You can use the ForcedReturnToStoragePool() method, with the Force parameter specified, to delete an IBMTS2145_StorageVolume instance when it is not mapped to any host. The Force parameter allows you to take an action that is usually prohibited. The ForcedReturnToStoragePool() method belongs to the IBMTS2145_StorageConfigurationService class.
In addition to the Force parameter, Table 257 shows the parameters you can specify for the ForcedReturnToStoragePool() method:
| Parameter | Type | Description |
|---|---|---|
| Job | String | Set to Null |
| TheElement | String | Specifies the IBMTS2145_StorageVolume instance to be deleted |
The ForcedReturnToStoragePool() method returns one of the following error codes: