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


In This Topic
    Port Property (IbmPrinter)
    In This Topic
    Gets or sets the TCP port to connect to.
    Syntax
    'Declaration
     
    
    Public Property Port As Integer
    'Usage
     
    
    Dim instance As IbmPrinter
    Dim value As Integer
     
    instance.Port = value
     
    value = instance.Port
    public int Port {get; set;}
    Exceptions
    ExceptionDescription
    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.
    Thrown if the set parameter is outside the range of valid values.
    See Also