Upravit

Sdílet prostřednictvím


ScriptManagerDesigner.GetApplicationServices Method

Definition

Returns ECMAScript (JavaScript) code that represents the profile service properties defined in a Web page's ScriptManager control and ScriptManagerProxy controls.

public:
 static System::String ^ GetApplicationServices(System::Web::UI::ScriptManager ^ scriptManager, System::Collections::Generic::IEnumerable<System::Web::UI::ScriptManagerProxy ^> ^ proxies);
public static string GetApplicationServices (System.Web.UI.ScriptManager scriptManager, System.Collections.Generic.IEnumerable<System.Web.UI.ScriptManagerProxy> proxies);
static member GetApplicationServices : System.Web.UI.ScriptManager * seq<System.Web.UI.ScriptManagerProxy> -> string
Public Shared Function GetApplicationServices (scriptManager As ScriptManager, proxies As IEnumerable(Of ScriptManagerProxy)) As String

Parameters

scriptManager
ScriptManager

The ScriptManager control associated with the Web Page.

proxies
IEnumerable<ScriptManagerProxy>

The collection of ScriptManagerProxy controls associated with the Web page.

Returns

The JavaScript code that defines the profile service properties.

Exceptions

scriptManager is null.

Applies to