RemoveDevice() Extrinsic methods RequestDiscovery()

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:

(C) Copyright International Business Machines Corporation 2003, 2004