Dela via


IBuildAgent.Port Property

Note: This API is now obsolete.

Gets or sets the port number for the build agent.

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
[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

.NET Framework Security

See Also

Reference

IBuildAgent Interface

Microsoft.TeamFoundation.Build.Client Namespace