다음을 통해 공유


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

See Also

Reference

BuildDefinition Class

Microsoft.TeamFoundation.Build.Server Namespace