Terminates the connector, performing any required clean-up tasks.
Syntax
public int terminate();
Parameters
None.
Return values
An integer that indicates the status value of the terminate() operation.
Exceptions
None.
Notes
The connector infrastructure calls the terminate() method when the connector is shutting down. In your implementation of this method, it is good practice to free all the memory and log off from the application. You must implement this method for the connector.