Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IbmPrinter Class / Connect Method


In This Topic
    Connect Method (IbmPrinter)
    In This Topic
    Connects to the host.
    Syntax
    'Declaration
     
    
    Public Function Connect() As ReturnCode
    'Usage
     
    
    Dim instance As IbmPrinter
    Dim value As ReturnCode
     
    value = instance.Connect()
    public ReturnCode Connect()

    Return Value

    Connection Status
    Remarks
    This method returns an error if the connection cannot be made successfully. It is ignored if a connection already exists. Use the IsConnected property to determine if a connection already exists.
    See Also