Partager via


RetentionPolicy Constructor (BuildReason, BuildStatus, Int32)

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

Syntax

'Declaration
Public Sub New ( _
    reason As BuildReason, _
    status As BuildStatus, _
    numberToKeep As Integer _
)
public RetentionPolicy(
    BuildReason reason,
    BuildStatus status,
    int numberToKeep
)
public:
RetentionPolicy(
    BuildReason reason, 
    BuildStatus status, 
    int numberToKeep
)
new : 
        reason:BuildReason * 
        status:BuildStatus * 
        numberToKeep:int -> RetentionPolicy
public function RetentionPolicy(
    reason : BuildReason, 
    status : BuildStatus, 
    numberToKeep : int
)

Parameters

.NET Framework Security

See Also

Reference

RetentionPolicy Class

RetentionPolicy Overload

Microsoft.TeamFoundation.Build.Server Namespace