InfoConnect for Unisys VBA Guide
DeviceName Property
Gets or sets the device to connect to.
Object.DeviceName As String
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, 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 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



2015 Attachmate

Send Feedback