Share via


SetBuildProperties.KeepForever Property

Gets or sets a flag indicating to keep the completed build indefinitely, and ignore retention policies.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property KeepForever As InArgument(Of Boolean)
[BrowsableAttribute(true)]
public InArgument<bool> KeepForever { get; set; }
[BrowsableAttribute(true)]
public:
property InArgument<bool>^ KeepForever {
    InArgument<bool>^ get ();
    void set (InArgument<bool>^ value);
}
[<BrowsableAttribute(true)>]
member KeepForever : InArgument<bool> with get, set
function get KeepForever () : InArgument<boolean>
function set KeepForever (value : InArgument<boolean>)

Property Value

Type: System.Activities.InArgument<Boolean>
True to keep the completed build indefinitely, and ignore retention policies; otherwise, false.

.NET Framework Security

See Also

Reference

SetBuildProperties Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace