RemoveDevice()
You can use the RemoveDevice()
method to detach an IBMTS2145_StorageVolume instance from an IBMTS2145_Controller
instance. The RemoveDevice() method belongs to the IBMTS2145_Controller class.
Parameters
Table 270 shows the parameters you can specify for the AttachDevice()
method:
Table 270. RemoveDevice() parameters
|
Parameter |
Type |
Description |
| Device |
COP |
Defines the IBMTS2145_StorageVolume instance to be detached |
Return values
The RemoveDevice() method returns one of the following error codes:
- 0: The volume was successfully detached.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The device does not have an IBMTS2145_SCSILUN association to this
controller.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.