Partager via


RetentionPolicy.BuildReason Property

Gets or sets the reasons for which this policy applies.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)> _
Public Property BuildReason As BuildReason
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)]
public BuildReason BuildReason { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Public)]
public:
property BuildReason BuildReason {
    BuildReason get ();
    void set (BuildReason value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public)>]
member BuildReason : BuildReason with get, set
function get BuildReason () : BuildReason 
function set BuildReason (value : BuildReason)

Property Value

Type: Microsoft.TeamFoundation.Build.Server.BuildReason
Returns BuildReason.

.NET Framework Security

See Also

Reference

RetentionPolicy Class

Microsoft.TeamFoundation.Build.Server Namespace