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.
Table 230 shows the parameters you can specify for the AttachDevice() method:
| Parameter | Type | Description |
|---|---|---|
| Device | COP | Defines the volume instance to be attached |
The AttachDevice() method returns one of the following error codes: