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