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.