This documentation is archived and is not being maintained.

RetentionPolicy2010 Class

Represents an automatic deletion policy for a build definition.


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

[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class RetentionPolicy2010

The RetentionPolicy2010 type exposes the following members.

Public propertyBuildReasonGets or sets the reasons to which this policy applies.
Public propertyBuildStatusGets or sets the status to which this policy applies.
Public propertyDeleteOptionsGets or sets the data that should be deleted.
Public propertyNumberToKeepGets or sets the number of builds to retain.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToString (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.