Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / Connect Method


In This Topic
Connect Method (IIbmTerminal)
In This Topic
Connects to the host.
Syntax
'Declaration
 
Function Connect() As ReturnCode
 
'Usage
 
Dim instance As IIbmTerminal
Dim value As ReturnCode
 
value = instance.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. Use HostCommTimeout to specify how many seconds Reflection waits for a host response.
See Also