Freigeben über


RetentionPolicy2010.NumberToKeep Property

Gets or sets the number of builds to retain.

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)> _
Public Property NumberToKeep As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)]
public int NumberToKeep { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Public)]
public:
property int NumberToKeep {
    int get ();
    void set (int value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)>]
member NumberToKeep : int with get, set
function get NumberToKeep () : int 
function set NumberToKeep (value : int)

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

RetentionPolicy2010 Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace