共用方式為


RetentionPolicy.NumberToKeep 屬性

取得或設定組建數目保留。

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

語法

'宣告
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)> _
Public Property NumberToKeep As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)]
public int NumberToKeep { get; set; }

屬性值

類型:System.Int32
傳回 Int32

.NET Framework 安全性

請參閱

參考

RetentionPolicy 類別

Microsoft.TeamFoundation.Build.Server 命名空間