This documentation is archived and is not being maintained.

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)

property bool Enabled {
	bool get ();
	void set (bool value);
}

Property Value

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

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

Show: