ProcessModelSection.WebGarden Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar eller anger ett värde som gör det möjligt för tillgängliga processorer att köra arbetsprocesserna.
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
Egenskapsvärde
true, om CpuMask används för att mappa arbetsprocesserna till antalet berättigade processorer, false om CpuMask ignoreras.
- Attribut
Exempel
Följande kodexempel visar hur du kommer åt egenskapen 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
Kommentarer
Egenskapen WebGarden måste användas med egenskapen CpuMask .
Om egenskapen WebGarden är inställd falseCpuMask på ignoreras attributet och endast en arbetsprocess körs.
Note
En webbserver med flera processorer kallas för en webbträdgård.