ScriptManagerProxy.ProfileService Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the ProfileServiceManager 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 ProfileServiceManager ProfileService { get; }

Property Value

Type: System.Web.UI.ProfileServiceManager

The ProfileServiceManager object for the current ScriptManagerProxy instance.

The ProfileServiceManager object that is returned by this property represents the profile service that is registered with the page.

You can use the ASP.NET profile service or use a custom profile service. To use a custom service, you can register it by including a ProfileService element inside the ScriptManagerProxy element on the page. You can also programmatically configure the ProfileServiceManager object.

.NET Framework
Available since 3.5
Return to top
Show: