共用方式為


RetentionPolicy.BuildReason 屬性

取得或設定這個原則的原因。

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

語法

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

屬性值

類型:Microsoft.TeamFoundation.Build.Server.BuildReason
傳回 BuildReason

.NET Framework 安全性

請參閱

參考

RetentionPolicy 類別

Microsoft.TeamFoundation.Build.Server 命名空間