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
- 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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace