Error from msdn -- no1. roles. Enabled

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.