Condividi tramite


ProcessModelSection.WebGarden Proprietà

Definizione

Ottiene o imposta un valore che consente alle CPU disponibili di eseguire i processi di lavoro.

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

Valore della proprietà

true, se CpuMask viene usato per eseguire il mapping dei processi di lavoro al numero di CPU idonee; false se CpuMask viene ignorato.

Attributi

Esempio

Nell'esempio di codice seguente viene illustrato come accedere alla WebGarden proprietà .


// 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

Commenti

La WebGarden proprietà deve essere utilizzata con la CpuMask proprietà .

Se la WebGarden proprietà è impostata su false, l'attributo CpuMask viene ignorato e viene eseguito un solo processo di lavoro.

Annotazioni

Un server Web multiprocessore è denominato giardino Web.

Si applica a