SPUserCodeExecutionTier.PriorityPerProcess property
取得或設定每個層上執行的程序的優先順序。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property PriorityPerProcess As Integer
Get
Set
'用途
Dim instance As SPUserCodeExecutionTier
Dim value As Integer
value = instance.PriorityPerProcess
instance.PriorityPerProcess = value
public int PriorityPerProcess { get; set; }
Property value
Type: System.Int32
每個程序優先順序。
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | 每個程序的優先順序不是其中一個ProcessPriorityClass列舉值。 |
備註
此屬性的預設值為ProcessPriorityClass.Normal。
優先順序必須等於其中一個ProcessPriorityClass列舉值。