CreateView()
You can use the CreateView() method
to copy an IBMTS2145_Controller that has the AuthorizationTarget parameter
set to false. You can use the copy controller, with the AuthorizationTarget
parameter set to true, as the target for the IBMTS2145_AuthorizationService.AssignAccess()
operation. The CreateView() method belongs to the IBMTS2145_Controller class.
Parameters
Table 242 shows the parameters you can specify for the
CreateView() method:
Table 242. CreateView() parameters
|
Parameter |
Type |
Description |
| [Ports[]] |
String |
Lists all the ports of the source controller to be associated
with the copy controller |
| View |
String |
Displays the new controller |
Return values
The CreateView() method returns one of the following error codes:
- 0: A clone was successfully created.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x1000: The source controller should be set to AuthorizationTarget=false.
- 0x1001: The Ports[] are not set to null.