SPWebApplication.RecycleBinCleanupEnabled property
SharePoint 2013
Gets or sets a value that determines whether recycle bin cleanup is enabled.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if recycle bin cleanup is enabled; otherwise, false. The default value is true.