ScriptManagerProxy.RoleService Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the RoleServiceManager object that is associated with the current ScriptManagerProxy instance.
public:
property System::Web::UI::RoleServiceManager ^ RoleService { System::Web::UI::RoleServiceManager ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.RoleServiceManager RoleService { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.RoleService : System.Web.UI.RoleServiceManager
Public ReadOnly Property RoleService As RoleServiceManager
Property Value
The RoleServiceManager object for the current ScriptManagerProxy instance.
- Attributes
Remarks
The RoleServiceManager object that is returned by this property represents the role service that is registered with the page.
You can use the ASP.NET role service or use a custom role service. To use a custom service, you can register it by including a RoleService
element inside the ScriptManagerProxy
element on the page. You can also programmatically configure the RoleServiceManager object.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈