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
'宣言
Property Enabled As Boolean
Get
Set
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
- 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.