InfoConnect for Airlines
DeviceName Property

Gets or sets the device to connect to.
Property DeviceName As String
Dim instance As IIbmTerminal
Dim value As String
instance.DeviceName = value
value = instance.DeviceName
string DeviceName {get; set;}
System.ArgumentException This exception is thrown if the set parameter is too long for the current terminal type.
Attachmate.Reflection.SecuredSettingException This exception is thrown when you modify a property that was secured via the Permissions Manager or that can only be modified by an Administrator.
If you do not specify a device name, InfoConnect creates a unique device name for the current session and provides it to the host when you log on. If AutoConfig is not running on the host, the device name specified must match one of the device names stored on the host. This property causes an error when InfoConnect is connected to a host. Use the IsConnected property to determine if a connection already exists.

This setting is only relevant to 5250 sessions or 3270 sessions using either Telnet or Telnet Extended.

The default is "". This string can be up to 10 characters long for 5250 sessions and up to 32 characters long for 3270 sessions.

See Also