Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.
Show:
© 2015 Microsoft