Partager via


BuildDetailSpec.MaxBuildsPerDefinition Property

Gets or sets the maximum number of builds to return per build definition.

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

Syntax

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

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

BuildDetailSpec Class

Microsoft.TeamFoundation.Build.Server Namespace