Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RecycleBinRetentionPeriod property
Collapse the table of content
Expand the table of content

SPWebApplication.RecycleBinRetentionPeriod property

Gets or sets the number of days items are kept in the recycle bin.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public int RecycleBinRetentionPeriod { get; set; }

Property value

Type: System.Int32
A 32-bit integer containing the number of days. The default value is 30 days.
© 2015 Microsoft