Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / CloseAllConnections Method
In This Topic
    CloseAllConnections Method
    In This Topic
    Closes all connections established by the current instance of the emulator.
    Syntax
    expression.CloseAllConnections() As ReturnCode
    where expression is a variable that represents a Terminal Object

    Return Value

    One of the following ReturnCode enumeration values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    Remarks
    This method disconnects the current connection (if any) and any suspended connections previously established. This method does not affect connections opened by other copies of Reflection.
    See Also