共用方式為


RetentionPolicy 建構函式 (BuildReason, BuildStatus, Int32)

命名空間:  Microsoft.TeamFoundation.Build.Server
組件:  Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)

語法

'宣告
Public Sub New ( _
    reason As BuildReason, _
    status As BuildStatus, _
    numberToKeep As Integer _
)
public RetentionPolicy(
    BuildReason reason,
    BuildStatus status,
    int numberToKeep
)

參數

.NET Framework 安全性

請參閱

參考

RetentionPolicy 類別

RetentionPolicy 多載

Microsoft.TeamFoundation.Build.Server 命名空間