System.Web.Configuration.ProfileSection.Enabled Property

Gets or sets a value indicating whether the ASP.NET profile feature is enabled.

Syntax

[System.Configuration.ConfigurationProperty("enabled", DefaultValue=true)]
public bool Enabled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the ProfileSection.Enabled property is false, the profile feature is disabled, and you will not be able to access user-profile information from your ASP.NET code.

When the property is true, at run time the ASP.NET compilation system uses the information specified in the profile section to generate a class called ProfileCommon, which is derived from System.Web.Profile.ProfileBase.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0