다음을 통해 공유


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

속성 값

Boolean

CpuMask를 사용하여 작업자 프로세스를 실행 가능한 CPU 수에 매핑하는 경우 true이고, 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 특성이 무시 되 고 하나의 작업자 프로세스를 실행 합니다.

참고

다중 프로세서 웹 서버에 웹 가든을 라고 합니다.

적용 대상