Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / UserDisconnecting Event
In This Topic
    UserDisconnecting Event
    In This Topic
    This event is triggered before Reflection disconnects from the host.
    Syntax
    private Sub Terminal_UserDisconnecting ( 
       ByVal sender As Object, _
       ByVal connectionId As Integer, _
       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 Reflection (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