共用方式為


SPWebApplication.RecycleBinEnabled property

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

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

Syntax

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

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace