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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

<ClientCallableAttribute> _
Public ReadOnly Property RecycleBinEnabled As Boolean
Dim instance As SPWeb
Dim value As Boolean

value = instance.RecycleBinEnabled

Property Value

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