Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / AutoConnect Property


AutoConnect Property (IIbmTerminal)
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

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 Reflection is connected to a host. Use the IsConnected property to determine if a connection already exists.
See Also