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 | |
---|---|---|
BuildDefinition | Gets the build definition that owns this retention policy. | |
BuildReason | Gets or sets the reason of the build to which the retention policy applies. | |
BuildStatus | Gets or sets the status of the build to which the retention policy applies. | |
DeleteOptions | Gets or sets the parts of the build to delete. | |
NumberToKeep | Gets or sets the number of builds to keep. |
Top