共用方式為


ProcessModelSection.WebGarden 屬性

定義

取得或設定一個值,使可用 CPU 能夠執行工作程序。

public:
 property bool WebGarden { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("webGarden", DefaultValue=false)]
public bool WebGarden { get; set; }
[<System.Configuration.ConfigurationProperty("webGarden", DefaultValue=false)>]
member this.WebGarden : bool with get, set
Public Property WebGarden As Boolean

屬性值

true,若 CpuMask 用於將工作程序映射到合格的 CPU 數量; falseCpuMask 忽略。

屬性

範例

以下程式碼範例說明如何存取該 WebGarden 物業。


// Get the current WebGarden property value.
bool webGarden = 
 processModelSection.WebGarden;

// Set the WebGarden property to true.
processModelSection.WebGarden = true;
' Get the current WebGarden property value.
   Dim webGarden As Boolean = _
   processModelSection.WebGarden

' Set the WebGarden property to true.
processModelSection.WebGarden = True

備註

WebGarden該財產必須與該物業一同CpuMask使用。

WebGarden 屬性設定為 falseCpuMask 則該屬性會被忽略,且只會執行一個工作程序。

備註

多處理器網頁伺服器稱為網頁花園。

適用於