IBuildDefinition.RetentionPolicies Property

Note: This API is now obsolete.

Gets a dictionary of the retention policies for the build definition. The dictionary is indexed by the build status.

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

Syntax

'Declaration
<ObsoleteAttribute("This property has been deprecated. Please remove all references.",  _
    True)> _
ReadOnly Property RetentionPolicies As Dictionary(Of BuildStatus, IRetentionPolicy)
    Get
[ObsoleteAttribute("This property has been deprecated. Please remove all references.", 
    true)]
Dictionary<BuildStatus, IRetentionPolicy> RetentionPolicies { get; }
[ObsoleteAttribute(L"This property has been deprecated. Please remove all references.", 
    true)]
property Dictionary<BuildStatus, IRetentionPolicy^>^ RetentionPolicies {
    Dictionary<BuildStatus, IRetentionPolicy^>^ get ();
}
[<ObsoleteAttribute("This property has been deprecated. Please remove all references.", 
    true)>]
abstract RetentionPolicies : Dictionary<BuildStatus, IRetentionPolicy>
function get RetentionPolicies () : Dictionary<BuildStatus, IRetentionPolicy>

Property Value

Type: System.Collections.Generic.Dictionary<BuildStatus, IRetentionPolicy>
A dictionary of the retention policies for the build definition. The dictionary is indexed by build status.

.NET Framework Security

See Also

Reference

IBuildDefinition Interface

Microsoft.TeamFoundation.Build.Client Namespace