共用方式為


BuildCommonUtil.DefaultAgentPort Property

Gets the default port for build agents.

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)

Syntax

'Declaration
Public Shared ReadOnly Property DefaultAgentPort As Integer
public static int DefaultAgentPort { get; }
public:
static property int DefaultAgentPort {
    int get ();
}
static member DefaultAgentPort : int with get
static function get DefaultAgentPort () : int

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

BuildCommonUtil Class

Microsoft.TeamFoundation.Build.Common Namespace