RetentionPolicy2010 Class

Represents an automatic deletion policy for a build definition.

System.Object
  Microsoft.TeamFoundation.Build.Server.Compatibility.RetentionPolicy2010

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.

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