BuildDefinition.RetentionPolicies Property
Gets the retention policies. Specifies automatic build deletion policies.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<ClientPropertyAttribute(ClientVisibility.Private)> _
Public ReadOnly Property RetentionPolicies As List(Of RetentionPolicy)
[ClientPropertyAttribute(ClientVisibility.Private)]
public List<RetentionPolicy> RetentionPolicies { get; }
[ClientPropertyAttribute(ClientVisibility::Private)]
public:
property List<RetentionPolicy^>^ RetentionPolicies {
List<RetentionPolicy^>^ get ();
}
[<ClientPropertyAttribute(ClientVisibility.Private)>]
member RetentionPolicies : List<RetentionPolicy> with get
function get RetentionPolicies () : List<RetentionPolicy>
Property Value
Type: System.Collections.Generic.List<RetentionPolicy>
Returns List<T>.
.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.