Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRetentionPolicy Interface

The interface for a retention policy in the server that is running Team Foundation Build.

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

public interface IRetentionPolicy

The IRetentionPolicy type exposes the following members.

  NameDescription
Public propertyBuildDefinitionGets the build definition that owns this retention policy.
Public propertyBuildReasonGets or sets the reason of the build to which the retention policy applies.
Public propertyBuildStatusGets or sets the status of the build to which the retention policy applies.
Public propertyDeleteOptionsGets or sets the parts of the build to delete.
Public propertyNumberToKeepGets or sets the number of builds to keep.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft