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

SPWeb.RecycleBinEnabled property

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

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

public bool RecycleBinEnabled { get; }

Property value

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