InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IbmPrinter Class / TNAssociation Property


In This Topic
    TNAssociation Property (IbmPrinter)
    In This Topic
    Gets or sets a string that identifies a 3270 terminal session on the host.
    Syntax
    'Declaration
     
    
    Public Property TNAssociation As String
    'Usage
     
    
    Dim instance As IbmPrinter
    Dim value As String
     
    instance.TNAssociation = value
     
    value = instance.TNAssociation
    public string TNAssociation {get; set;}

    Property Value

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

    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is longer than the maximum allowed.
    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