Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / Close Method
A CloseOption enum value that specifies how to handle the Save action when closing the control. You can specify CloseAlwaysSave to save the session configuration before closing or CloseNoSave to close the session without saving. You cannot choose to prompt the user to save the session.


In This Topic
    Close Method (ITerminal)
    In This Topic
    Closes the terminal session with the close option.
    Syntax
    'Declaration
     
    
    Function Close( _
       ByVal option As CloseOption _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As ITerminal
    Dim option As CloseOption
    Dim value As ReturnCode
     
    value = instance.Close(option)

    Parameters

    option
    A CloseOption enum value that specifies how to handle the Save action when closing the control. You can specify CloseAlwaysSave to save the session configuration before closing or CloseNoSave to close the session without saving. You cannot choose to prompt the user to save the session.

    Return Value

    ReturnCode value indicates success or error conditions.
    See Also