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
'Déclaration
<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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.