Share via


RetentionPolicy2010.BuildReason Property

Gets or sets the reasons to which this policy applies.

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

Syntax

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

Property Value

Type: Microsoft.TeamFoundation.Build.Server.Compatibility.BuildReason2010
Returns BuildReason2010.

.NET Framework Security

See Also

Reference

RetentionPolicy2010 Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace