This documentation is archived and is not being maintained.

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)

property BuildReason BuildReason {
	BuildReason get ();
	void set (BuildReason value);
}

Property Value

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

Show: