共用方式為


SPUserCodeService.WorkerProcessRecycleTime property

取得或設定的時間,以分鐘為單位,沙箱工作者處理序會自動回收。

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

Syntax

'宣告
Public Property WorkerProcessRecycleTime As Integer
    Get
    Set
'用途
Dim instance As SPUserCodeService
Dim value As Integer

value = instance.WorkerProcessRecycleTime

instance.WorkerProcessRecycleTime = value
public int WorkerProcessRecycleTime { get; set; }

Property value

Type: System.Int32
沙箱工作者處理序會自動回收的分鐘數。

備註

預設值為 180。

請參閱

參照

SPUserCodeService class

SPUserCodeService members

Microsoft.SharePoint.Administration namespace