Share via


SPWebApplication.RecycleBinCleanupEnabled property

Gets or sets a value that determines whether recycle bin cleanup is enabled.

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

Syntax

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

value = instance.RecycleBinCleanupEnabled

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

Property value

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

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace