JAMS Developer Guide
Port Property (Agent)


MVPSI.JAMS Namespace > Agent Class : Port Property
Gets or sets the port for the agent. Setting this to zero will use the default port.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute()>
<System.ComponentModel.DescriptionAttribute("The TCP/IP port to use.")>
Public Property Port As System.Integer
'Usage
 
Dim instance As Agent
Dim value As System.Integer
 
instance.Port = value
 
value = instance.Port
[System.ComponentModel.Category()]
[System.ComponentModel.Description("The TCP/IP port to use.")]
public System.int Port {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Agent Class
Agent Members