Export (0) Print
Expand All

RetentionPolicy Class

Represents an automatic deletion policy for a build definition.

System.Object
  Microsoft.TeamFoundation.Build.Server.RetentionPolicy

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.

  NameDescription
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.
Top

  NameDescription
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().)
Top

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