Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IbmPrinter Class / AutoConnect Property


In This Topic
    AutoConnect Property (IbmPrinter)
    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
     
    
    Public Property AutoConnect As Boolean
    'Usage
     
    
    Dim instance As IbmPrinter
    Dim value As Boolean
     
    instance.AutoConnect = value
     
    value = instance.AutoConnect
    public 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 Reflection is connected to a host. Use the IsConnected property to determine if a connection already exists.
    See Also