IBuildAgentSpec.Port Property
Note: This API is now obsolete.
Gets or sets the port number of the build agent or build agents.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
<ObsoleteAttribute("This property has been deprecated. Please remove all references.", _
True)> _
Property Port As Integer
Get
Set
[ObsoleteAttribute("This property has been deprecated. Please remove all references.",
true)]
int Port { get; set; }
[ObsoleteAttribute(L"This property has been deprecated. Please remove all references.",
true)]
property int Port {
int get ();
void set (int value);
}
[<ObsoleteAttribute("This property has been deprecated. Please remove all references.",
true)>]
abstract Port : int with get, set
function get Port () : int
function set Port (value : int)
Property Value
Type: System.Int32
The port number of the desired build agents. Specify null for all port numbers.
Remarks
Set this property to zero (0) to accept the default value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.