ProcessModelSection.WebGarden 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,使可用 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 數量; false 若 CpuMask 忽略。
- 屬性
範例
以下程式碼範例說明如何存取該 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 屬性設定為 false, CpuMask 則該屬性會被忽略,且只會執行一個工作程序。
備註
多處理器網頁伺服器稱為網頁花園。