Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / Connect Method


In This Topic
Connect Method (ITerminal)
In This Topic
Connects to the host. It is ignored if a connection already exists.
Syntax
'Declaration
 
Function Connect() As ReturnCode
 
'Usage
 
Dim instance As ITerminal
Dim value As ReturnCode
 
value = instance.Connect()

Return Value

Connection Status
Remarks
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