InfoConnect for Airlines VBA Guide
UserDisconnecting Event
This event is triggered before InfoConnect disconnects from the host.
Syntax
private Sub Terminal_UserDisconnecting (
   ByVal sender As Object, _
   ByVal connectionId As Long, _
   ByVal connectionType As ConnectionTypeOption, _
   ByVal connectionSettings As Object _
) As Boolean

Parameters

sender
connectionId
connectionType
connectionSettings
Remarks
For this event to occur, the user must terminate a connection using InfoConnect (for example, using the Disconnect button on the Session tab). It will not occur when the user ends a session by using a host log out command.

When a VT/Regis document is closed either programatically or manually, the event is not cancellable. (If the Cancel flag is set in the event arguments, it is ignored.)

See Also