This documentation is archived and is not being maintained.
RetentionPolicy2010 Class
Visual Studio 2013
Represents an automatic deletion policy for a build definition.
Namespace: Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
The RetentionPolicy2010 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BuildReason | Gets or sets the reasons to which this policy applies. |
![]() | BuildStatus | Gets or sets the status to which this policy applies. |
![]() | DeleteOptions | Gets or sets the data that should be deleted. |
![]() | NumberToKeep | Gets or sets the number of builds to retain. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | (Overrides Object.ToString().) |
Show:
