Share via


IBuildAgent.Enabled Property

Gets or sets a flag that describes whether the build agent is enabled.

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

Syntax

'Declaration
Property Enabled As Boolean
bool Enabled { get; set; }
property bool Enabled {
    bool get ();
    void set (bool value);
}
abstract Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

Property Value

Type: System.Boolean
True if the build agent is enabled; otherwise, false.

Remarks

When not enabled, the build agent cannot queue or start any new builds.

.NET Framework Security

See Also

Reference

IBuildAgent Interface

Microsoft.TeamFoundation.Build.Client Namespace