Share via


IRetentionPolicy.BuildReason Property

Gets or sets the reason of the build to which the retention policy applies.

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

Syntax

'Declaration
Property BuildReason As BuildReason
BuildReason BuildReason { get; set; }
property BuildReason BuildReason {
    BuildReason get ();
    void set (BuildReason value);
}
abstract BuildReason : BuildReason with get, set
function get BuildReason () : BuildReason 
function set BuildReason (value : BuildReason)

Property Value

Type: Microsoft.TeamFoundation.Build.Client.BuildReason
The reason of the build to which the retention policy applies.

.NET Framework Security

See Also

Reference

IRetentionPolicy Interface

Microsoft.TeamFoundation.Build.Client Namespace