InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmTerminal Object / Close Method
One of the following CloseOption values:
Member Description
CloseAlwaysSave Saves the control's configuration when closing.
CloseAskSave Prompts users to save the control's configuration when closing.
CloseNoSave Does not save the control's configuration when closing.
In This Topic
    Close Method (IbmTerminal)
    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 IbmTerminal Object

    Parameters

    option
    One of the following CloseOption values:
    Member Description
    CloseAlwaysSave Saves the control's configuration when closing.
    CloseAskSave Prompts users to save the control's configuration when closing.
    CloseNoSave Does not save the control's configuration when closing.

    Return Value

    One of the following ReturnCode values.

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

    See Also