ConnectToHost

Forces a specific BlueZone session to connect to a host.

Parameters
SessionTypeVal
0 - Mainframe; 1 - iSeries; 2 - VT; 3 - UTS; 4 - T27; 6 - 6530
SessionIdentifierVal
1 for S1; 2 for S2; 3 for S3; etc. 0 is a special case where the object will try to find an embedded BlueZone session in the browser or search for any BlueZone window to link.
Returns
0 for success, or a non-zero for failure