共用方式為


ScriptingRoleServiceSection.Enabled 屬性

定義

取得或設定值,這個值表示是否針對使用 AJAX 功能的 ASP.NET 應用程式啟用角色服務。

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

如果已啟用角色服務,則為 true,否則為 false。 預設為 false

屬性

適用於