BuildDefinition2010.RetentionPolicies Property

Gets the retention policies. Specifies automatic build deletion policies.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public)> _
Public ReadOnly Property RetentionPolicies As List(Of RetentionPolicy2010)
[ClientPropertyAttribute(ClientVisibility.Public)]
public List<RetentionPolicy2010> RetentionPolicies { get; }
[ClientPropertyAttribute(ClientVisibility::Public)]
public:
property List<RetentionPolicy2010^>^ RetentionPolicies {
    List<RetentionPolicy2010^>^ get ();
}
[<ClientPropertyAttribute(ClientVisibility.Public)>]
member RetentionPolicies : List<RetentionPolicy2010> with get
function get RetentionPolicies () : List<RetentionPolicy2010>

Property Value

Type: System.Collections.Generic.List<RetentionPolicy2010>
Returns List<T>.

.NET Framework Security

See Also

Reference

BuildDefinition2010 Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace