ScriptManagerProxy.AuthenticationService 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 AuthenticationServiceManager 與目前 ScriptManagerProxy 實例相關聯的物件。
public:
property System::Web::UI::AuthenticationServiceManager ^ AuthenticationService { System::Web::UI::AuthenticationServiceManager ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.AuthenticationServiceManager AuthenticationService { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.AuthenticationService : System.Web.UI.AuthenticationServiceManager
Public ReadOnly Property AuthenticationService As AuthenticationServiceManager
屬性值
目前實例的AuthenticationServiceManagerScriptManagerProxy物件。
- 屬性
備註
AuthenticationServiceManager由此屬性回傳的物件代表與該頁面註冊的認證服務。
你可以使用 ASP.NET 認證服務,或使用自訂認證服務。 要使用自訂服務,你可以在頁面的元素中ScriptManagerProxy加入AuthenticationService一個元素來註冊。 你也可以程式化地設定物件。AuthenticationServiceManager