Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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
.gif)