Compartilhar via


SPUserCodeExecutionTier.PriorityPerProcess Property

Gets or sets the priority for per process running on the tier.

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

Syntax

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

value = instance.PriorityPerProcess

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

Property Value

Type: System.Int32
The priority per process.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The priority for per process is not one of the values of the ProcessPriorityClass enumeration.

Remarks

The default value for this property is ProcessPriorityClass.Normal.

The priority must be equivalent to one of the values of the ProcessPriorityClass enumeration.

See Also

Reference

SPUserCodeExecutionTier Class

SPUserCodeExecutionTier Members

Microsoft.SharePoint.Administration Namespace