You can use the ForcedDeleteHardwareAccount() method, with the Force parameter specified, to delete an IBMTS2145_HardwareAccount instance and related associations and aggregations. The Force parameter allows you to take an action that is usually prohibited. The ForcedDeleteHardwareAccount() method belongs to the IBMTS2145_AccountManagementService class.
In addition to the Force parameter, Table 254 shows the parameters you can specify for the ForcedDeleteHardwareAccount() method:
| Parameter | Type | Description |
|---|---|---|
| Account | String | Defines the IBMTS2145_HardwareAccount instance to be deleted |
The ForcedDeleteHardwareAccount() method returns one of the following error codes: