Partager via


IRetentionPolicy.NumberToKeep Property

Gets or sets the number of builds to keep.

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

Syntax

'Declaration
Property NumberToKeep As Integer
int NumberToKeep { get; set; }
property int NumberToKeep {
    int get ();
    void set (int value);
}
abstract NumberToKeep : int with get, set
function get NumberToKeep () : int 
function set NumberToKeep (value : int)

Property Value

Type: System.Int32
The number of builds to keep.

.NET Framework Security

See Also

Reference

IRetentionPolicy Interface

Microsoft.TeamFoundation.Build.Client Namespace