Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / TelnetEnvironment Property


In This Topic
    TelnetEnvironment Property
    In This Topic
    Gets or sets a string that is passed to an "Exit program" on an AS/400 host when Reflection makes a Telnet connection.
    Syntax
    'Declaration
     
    
    Property TelnetEnvironment As String
    'Usage
     
    
    Dim instance As IIbmTerminal
    Dim value As String
     
    instance.TelnetEnvironment = value
     
    value = instance.TelnetEnvironment
    string TelnetEnvironment {get; set;}
    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
    Exit programs run when a Telnet session is either initiated or terminated and use this format:

    keyword=value; keyword=value; keyword=value

    When you use Auto SignOn (AutoSignon = True), Reflection automatically signs on to the host using the current values of the UserName and Password properties. You can set TelnetEnvironment to specify additional, non-default sign on options using any of the following keywords in the Exit program string:

    • Sets the program to call (equivalent of the Sign On menu's Program/procedure option).
    • Sets the initial menu (equivalent of the Sign On menu).
    • Sets the current library (equivalent of the Sign On menu's Current library option).

    You cannot change the value of this property while you are connected. This property applies only to 5250 terminal sessions using Telnet.

    See Also