SPWebApplication.RecycleBinEnabled Property
Gets or sets a value that determines whether the recycle bin is enabled.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Property Value
Type: System.Booleantrue if the recycle bin is enabled; otherwise, false. The default value is true.