This documentation is archived and is not being maintained.

IBuildDefinition.Enabled Property

Note: This API is now obsolete.

Gets or sets the enabled status of the build definition.

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

[ObsoleteAttribute("This property has been deprecated. Use QueueStatus instead.")]
bool Enabled { get; set; }

Property Value

Type: System.Boolean
True if this build definition is enabled; otherwise, false.

When the enabled status is set to false, no new builds can be generated by the build definition.