InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / AutoConnect Property


In This Topic
    AutoConnect Property (IIbmTerminal)
    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 IIbmTerminal
    Dim value As Boolean
     
    instance.AutoConnect = value
     
    value = instance.AutoConnect
    bool AutoConnect {get; set;}

    Property Value

    The default value is True.
    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