InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmPrinter Interface / Port Property


In This Topic
    Port Property (IIbmPrinter)
    In This Topic
    Gets or sets the TCP port to connect to.
    Syntax
    'Declaration
     
    
    Property Port As Integer
    'Usage
     
    
    Dim instance As IIbmPrinter
    Dim value As Integer
     
    instance.Port = value
     
    value = instance.Port
    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.
    Remarks
    Valid range for Port is between 0 and 66535.
    See Also