Bearbeiten

Freigeben über


ScriptManagerProxy.ProfileService Property

Definition

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

public:
 property System::Web::UI::ProfileServiceManager ^ ProfileService { System::Web::UI::ProfileServiceManager ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.ProfileServiceManager ProfileService { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.ProfileService : System.Web.UI.ProfileServiceManager
Public ReadOnly Property ProfileService As ProfileServiceManager

Property Value

The ProfileServiceManager object for the current ScriptManagerProxy instance.

Attributes

Remarks

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.

Applies to