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작업자 프로세스를 적격 CPU 수에 매핑하는 데 사용되는 경우CpuMask이고, false 무시되는 경우 CpuMask
- 특성
예제
다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 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 설정 falseCpuMask 되면 특성이 무시되고 하나의 작업자 프로세스만 실행됩니다.
메모
다중 프로세서 웹 서버를 웹 정원이라고 합니다.