ScriptingRoleServiceSection.Enabled 属性

定义

获取或设置一个值,该值指示是否对使用 AJAX 功能的 ASP.NETASP.NET 应用程序启用角色服务。Gets or sets a value that indicates whether the role service is enabled for an ASP.NETASP.NET application that uses AJAX features.

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

属性值

如果启用了角色服务,则为 true;否则为 falsetrue if the role service is enabled; otherwise, false. 默认值为 falseThe default is false.

属性

适用于