Export (0) Print
Expand All

ScriptManagerProxy.RoleService Property

Gets the RoleServiceManager object that is associated with the current ScriptManagerProxy instance.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public RoleServiceManager RoleService { get; }

Property Value

Type: System.Web.UI.RoleServiceManager
The RoleServiceManager object for the current ScriptManagerProxy instance.

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.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft