RecycleBinEnabled property
Collapse the table of content
Expand the table of content

SPWebApplication.RecycleBinEnabled property

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

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

public bool RecycleBinEnabled { get; set; }

Property value

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