Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmPrinter Interface / DeviceName Property


In This Topic
    DeviceName Property (IIbmPrinter)
    In This Topic
    Gets or sets the device to connect to.
    Syntax
    'Declaration
     
    
    Property DeviceName As String
    'Usage
     
    
    Dim instance As IIbmPrinter
    Dim value As String
     
    instance.DeviceName = value
     
    value = instance.DeviceName
    string DeviceName {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is too long for the current terminal type.
    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
    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 printer sessions

    The default is "". This string can be up to 10 characters long for 5250 sessions

    See Also