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)

Syntax

'Declaration
Public ReadOnly Property RecycleBinEnabled As Boolean
    Get
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.RecycleBinEnabled
public bool RecycleBinEnabled { get; }

Property value

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace

RecycleBin