Programming with Reflection
DeviceName property
Syntax |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) the device to connect to. If you do not specify a device name, Reflection 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 Reflection is connected to a host. Use the Connected 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.