Dela via


IBuildDetail.KeepForever Property

Gets or sets a flag describing whether the build participates in the retention policy of the build definition or to keep the build forever.

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

Syntax

'Declaration
Property KeepForever As Boolean
bool KeepForever { get; set; }
property bool KeepForever {
    bool get ();
    void set (bool value);
}
abstract KeepForever : bool with get, set
function get KeepForever () : boolean
function set KeepForever (value : boolean)

Property Value

Type: System.Boolean
True to keep the build forever. False to follow the retention policy specified in the build definition.

.NET Framework Security

See Also

Reference

IBuildDetail Interface

Microsoft.TeamFoundation.Build.Client Namespace