RecycleBinCleanupEnabled property
Collapse the table of content
Expand the table of content

SPWebApplication.RecycleBinCleanupEnabled property

Gets or sets a value that determines whether recycle bin cleanup is enabled.

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

public bool RecycleBinCleanupEnabled { get; set; }

Property value

Type: System.Boolean
true if recycle bin cleanup is enabled; otherwise, false. The default value is true.
© 2016 Microsoft