This documentation is archived and is not being maintained.
IRetentionPolicy Interface
Visual Studio 2013
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)
The IRetentionPolicy type exposes the following members.
| 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. |
Show:
