AttachDevice() Extrinsic methods CreateAccount()

You can use the AttachDevice() method to attach an IBMTS2145_StorageVolume instance to an IBMTS2145_Controller instance that is associated with an IBM2145_AccessControllInformation instance and has the AuthorizationView parameter set to true. The AttachDevice() method belongs to the IBMTS2145_Controller class.

Parameters

Table 230 shows the parameters you can specify for the AttachDevice() method:

Table 230. AttachDevice() parameters
Parameter Type Description
Device COP Defines the volume instance to be attached
Return values

The AttachDevice() method returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004