AnonymousIdentificationSection.Enabled 속성

정의

익명 ID 사용 여부를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

Boolean

익명 ID를 사용할 수 있으면 true이고, 그렇지 않으면 false입니다. 기본값은 false입니다.

특성

예제

다음 코드 예제에서는 Enabled 속성에 액세스하는 방법을 보여 줍니다.

   // Get Enabled.
   bool aIdEnabled =
       anonymousIdentificationSection.Enabled;

   Console.WriteLine("Anonymous identification enabled: {0}",
       aIdEnabled.ToString());
' Get Enabled.
Dim aIdEnabled As Boolean = _
anonymousIdentificationSection.Enabled
Console.WriteLine("Anonymous identification enabled: {0}", _
aIdEnabled.ToString())

설명

하는 경우 Enabled 로 설정 된 true, 사용자의 상태 정보를 관리 하는 쿠키를 사용 합니다.

적용 대상