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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.