Поделиться через


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)

Syntax

'Declaration
<ObsoleteAttribute("This property has been deprecated. Use QueueStatus instead.")> _
Property Enabled As Boolean
[ObsoleteAttribute("This property has been deprecated. Use QueueStatus instead.")]
bool Enabled { get; set; }
[ObsoleteAttribute(L"This property has been deprecated. Use QueueStatus instead.")]
property bool Enabled {
    bool get ();
    void set (bool value);
}
[<ObsoleteAttribute("This property has been deprecated. Use QueueStatus instead.")>]
abstract Enabled : bool with get, set
function get Enabled () : boolean 
function set Enabled (value : boolean)

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

IBuildDefinition Interface

Microsoft.TeamFoundation.Build.Client Namespace