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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property RecycleBinEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.RecycleBinEnabled

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

Property Value

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

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace