Compartir por


ProcessModelSection.WebGarden Propiedad

Definición

Obtiene o establece un valor que permite que las CPU disponibles ejecuten los procesos de trabajo.

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

Valor de propiedad

true, si CpuMask se usa para asignar los procesos de trabajo al número de CPU aptas; false si CpuMask se omite.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo acceder a la WebGarden propiedad .


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

Comentarios

La WebGarden propiedad debe usarse con la CpuMask propiedad .

Si la WebGarden propiedad se establece falseen , el CpuMask atributo se omite y solo se ejecuta un proceso de trabajo.

Nota:

Un servidor web multiprocesador se denomina jardín web.

Se aplica a