共用方式為


SPWebApplication.RecycleBinCleanupEnabled property

取得或設定一個值,決定是否啟用資源回收筒的清除功能。

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

Syntax

'宣告
Public Property RecycleBinCleanupEnabled As Boolean
    Get
    Set
'用途
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啟用資源回收筒清除排程時,否則,請false。預設值為true。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace