DeleteView()
You can use the DeleteView() method
to delete a controller from the CIMOM repository with the AuthorizationView
set to true. The DeleteView() method belongs to the IBMTS2145_Controller class.
Parameters
Table 249 shows the parameters you can specify for the DeleteView()
method:
Table 249. DeleteView() parameters
|
Parameter |
Type |
Description |
| Controller |
COP |
Defines the controller instance to be deleted |
Return values
The DeleteView() method returns one of the following error codes:
- 0: The controller was successfully deleted from CIMOM repository.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The controller to be deleted has AuthorizationTarget=false, when
it must be set to true.
- 0x8001: The controller is the target of an IBMTS2145_AuthorizationTarget
association; the input controller must not have an ACI associated with it.
- 0x8002: The controller is the antecedent of an IBMTS2145_SCSILUN association;
the input controller must not have volumes attached.
- 0x8003: The input controller is not of class IBMTS2145_Controller.
- 0x8100: The passed controller and the controller owning the method belong
to different clusters.