ScriptManagerProxy.AuthenticationService 屬性

定義

取得關聯到目前之 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

屬性值

AuthenticationServiceManager

目前之 AuthenticationServiceManager 執行實體的 ScriptManagerProxy 物件。

屬性

備註

AuthenticationServiceManager這個屬性所傳回的物件代表向頁面註冊的驗證服務。

您可以使用 ASP.NET authentication 服務或使用自訂驗證服務。 若要使用自訂服務,您可以在 AuthenticationService 頁面上的專案內包含元素來註冊它 ScriptManagerProxy 。 您也可以透過程式設計方式設定 AuthenticationServiceManager 物件。

適用於