共用方式為


SPUserCodeService.WorkerProcessRecycleTime Property

Gets or sets the amount of time, in minutes, that sandboxed worker processes are automatically recycled.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property WorkerProcessRecycleTime As Integer
    Get
    Set
'Usage
Dim instance As SPUserCodeService
Dim value As Integer

value = instance.WorkerProcessRecycleTime

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

Property Value

Type: System.Int32
The number of minutes that the sandboxed worker processes are automatically recycled.

Remarks

The default value is 180.

See Also

Reference

SPUserCodeService Class

SPUserCodeService Members

Microsoft.SharePoint.Administration Namespace