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 の数にマップする場合は 。CpuMaskが無視される場合はfalse

属性

次のコード例は、 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属性は無視され、1 つのワーカー プロセスのみが実行されます。

マルチプロセッサ Web サーバーは、Web ガーデンと呼ばれます。

適用対象