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)

Syntax

声明
Public Interface IRetentionPolicy
public interface IRetentionPolicy
public interface class IRetentionPolicy
type IRetentionPolicy =  interface end
public interface IRetentionPolicy

The IRetentionPolicy type exposes the following members.

Properties

  Name Description
Public property BuildDefinition Gets the build definition that owns this retention policy.
Public property BuildReason Gets or sets the reason of the build to which the retention policy applies.
Public property BuildStatus Gets or sets the status of the build to which the retention policy applies.
Public property DeleteOptions Gets or sets the parts of the build to delete.
Public property NumberToKeep Gets or sets the number of builds to keep.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace