共用方式為


SPUserCodeService.WorkerProcessExecutionTimeout Property

Gets or sets the amount of time, in seconds, that a single request is allowed to execute inside the sandboxed worker process.

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

Syntax

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

value = instance.WorkerProcessExecutionTimeout

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

Property Value

Type: System.Int32
The number of seconds that a single request is allowed to execute inside the sandboxed worker process.

Remarks

The default value is 30.

See Also

Reference

SPUserCodeService Class

SPUserCodeService Members

Microsoft.SharePoint.Administration Namespace