InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / AutoConnect Property


In This Topic
    AutoConnect Property (ITerminal)
    In This Topic
    Gets or sets a value indicating whether to attempt to establish a host connection as soon as the current settings file is loaded.
    Syntax
    'Declaration
     
    
    Property AutoConnect As Boolean
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As Boolean
     
    instance.AutoConnect = value
     
    value = instance.AutoConnect
    bool AutoConnect {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager or that can only be modified by an Administrator.
    Remarks
    You must save the current settings file after changing the value of this property. This property causes an error when InfoConnect is connected to a host. Use the IsConnected property to determine if a connection already exists.
    See Also