1.Error Page path:
LMS-help: // Ms. msdnqtr. v80.en/ms. msdn. v80/ms. netdevfx. v20.en/cpref12/html/p_system_web_security_roles_enabled.htm
LHttp://msdn2.microsoft.com/en-us/library/system.web.security.roles.enabled.aspx
2.Page content:
Note: This property is new in the. NET Framework Version 2.0.
Gets or setsA value indicating whether role management is enabled for the current web application.
Namespace:System. Web. Security
Assembly:System. Web (in system. Web. dll)
Syntax
Visual Basic (Declaration) |
Public shared readonly property enabled as Boolean |
Visual Basic (usage) |
DimValueAs Boolean Value=Roles. Enabled |
C # |
Public static bool enabled {Get ;} |
3.Brief description:
from the documents listed above, you cannot determine whether to enabled the attribute is read-only, Or read-only and writable.
however, based on the web site management tool provided by Visual Studio 2005, you can enable or disable the role management function online to determine whether this attribute is readable or writable. The preceding error is caused by the Code error.