Examples

This example uses the Connect method to open the connection after the connection type and connection settings are specified:

Sub MakeAConnection ()

With Session

If .Connected = False Then

.ConnectionType = "TELNET"

.ConnectionSettings = "Host myhost"

.Connect

End If

End With

End Sub