InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / Connect Method


In This Topic
    Connect Method (ITerminal)
    In This Topic
    Connects to the host. It is ignored if a connection already exists.
    Syntax
    'Declaration
     
    
    Function Connect() As ReturnCode
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As ReturnCode
     
    value = instance.Connect()
    ReturnCode Connect()

    Return Value

    Connection Status
    Remarks
    Use the IsConnected property to determine if a connection already exists. Use HostCommTimeout to specify how many seconds InfoConnect waits for a host response.
    See Also