다음을 통해 공유


HttpRuntimeSection.Enable 속성

정의

애플리케이션 도메인을 사용할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool Enable { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("enable", DefaultValue=true)]
public bool Enable { get; set; }
[<System.Configuration.ConfigurationProperty("enable", DefaultValue=true)>]
member this.Enable : bool with get, set
Public Property Enable As Boolean

속성 값

true애플리케이션 도메인을 사용하도록 설정하면 이고, 그렇지 않으면 . false 기본값은 true입니다.

특성

예제

다음 예제에서는 속성을 사용 하는 방법을 보여 있습니다 Enable .

// Get the Enable property value.
Response.Write("Enable: " +
  configSection.Enable + "<br>");

// Set the Enable property value to true.
configSection.Enable = true;
' Get the Enable property value.
Response.Write("Enable: " & _
  configSection.Enable & "<br>")

' Set the Enable property value to true.
configSection.Enable = True

설명

이 설정은 현재 노드 수준 이하의 애플리케이션 도메인 또는 도메인에 영향을 줍니다.

적용 대상

추가 정보