RetentionPolicy Class

Represents an automatic deletion policy for a build definition.


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

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

The RetentionPolicy type exposes the following members.

Public propertyBuildReasonGets or sets the reasons for which this policy applies.
Public propertyBuildStatusGets or sets the status for 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.