Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / Close Method
A CloseOption value
In This Topic
    Close Method (Terminal)
    In This Topic
    Closes the terminal session with the close option.
    Syntax
    expression.Close( _
       ByVal option As CloseOption _
    ) As ReturnCode
    where expression is a variable that represents a Terminal Object

    Parameters

    option
    A CloseOption value

    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.

    See Also