InfoConnect for Unisys
TNAssociation Property


Gets or sets a string that identifies a 3270 terminal session on the host.
Syntax
'Declaration
 
Property TNAssociation As String
'Usage
 
Dim instance As IIbmTerminal
Dim value As String
 
instance.TNAssociation = value
 
value = instance.TNAssociation
string TNAssociation {get; set;}

Property Value

The default is "". This string can be up to 260 characters long.

Exceptions
ExceptionDescription
System.ArgumentException This exception is thrown if the set parameter is longer than the maximum allowed.
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.
Remarks
Use this property to associate a 3270 terminal session with a specific 3270 printer session. This property applies to Telnet Extended sessions.

When associating a 3270 terminal session with a 3270 printer session, use TNAssociation to assign a unique TN Association string in the terminal session.

See Also