共用方式為


SPUserCodeExecutionTier.MaximumWorkerProcesses Property

Gets or sets the maximum number of worker processes that can be instantiated in the tier on any one server.

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

Syntax

'Declaration
Public Property MaximumWorkerProcesses As Integer
    Get
    Set
'Usage
Dim instance As SPUserCodeExecutionTier
Dim value As Integer

value = instance.MaximumWorkerProcesses

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

Property Value

Type: System.Int32
The maximum number of worker processes that can be instantiated in the tier on any one server. The default is 1.

See Also

Reference

SPUserCodeExecutionTier Class

SPUserCodeExecutionTier Members

Microsoft.SharePoint.Administration Namespace