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
声明
<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
.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.