Flynet Viewer .NET Programmer's Reference

hostName Property

hostName Property

Previous topic Next topic  

hostName Property

Previous topic Next topic  

 

Set the name of the defined host.

 

HostConnection.hostName

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

Remarks

 

READWRITE.

 

When the hostName property is set the corresponding pre-defined host settings will be used to establish the connection to the host.

 

Use the Admin Console to create or modify host connection settings.

 

The following example connects to the host set by the predefined settings of "Mainframe3270":

 

 HostConnection oConn = new HostConnection();

 oConn.hostName = "Mainframe3270";

 oConn.connect("standard");

 

Note that if the hostName property is set it will be used to make the connection - and the sessionHost, sessionOptions, sessionPort and sessionType properties will be ignored.

 

Requirements

 

Flynet Viewer

 

See Also

 

Connect | sessionOptions | sessionHost | sessionPort | sessionType

 

Applies To: HostConnection object

 


© 2016 Inventu Corporation, Flynet LTD