The name of the session pool to connect to.
HostConnection.sessionPool
Arguments
HostConnection
Required. HostConnection object.
Remarks
READWRITE.
Set the name of the session pool to connect to. The pools are defined using the Admin Console. If the sessionPool property is not set then a normal session type will be opened. This property is READONLY when the connected property is true.
The following example demonstrates the use of sessionPool by setting the HostConnection object to connect to the "base" session pool. "base" is created during installation.
HostConnection oConn = new HostConnection();
oConn.sessionHost = "127.0.0.1";
oConn.sessionPool = "base";
oConn.sessionPort = 23;
oConn.sessionOptions = "ConnectTestRow:23;ConnectTestColumn:2;ConnectTestText:ENTER;";
oConn.sessionType = "TN3270";
oConn.connect();
Requirements
Inventu Viewer+
See Also
Connect | poolGetActiveCount | poolGetAllocCount | poolGetMaxCount | sessionHost | sessionOptions | sessionType | sessionPool
Applies To: HostConnection object
© 2022 Inventu Corporation