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 の数にマップする場合は 。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 ガーデンと呼ばれます。