Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

bool Enabled { get; set; }

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.

© 2015 Microsoft