編輯

共用方式為


ScriptManagerProxy.Services Property

Definition

Gets a ScriptReferenceCollection object that contains a ServiceReference object for each service that is explicitly registered with the ScriptManagerProxy control.

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

Property Value

A collection that contains an ServiceReference object for each service that is registered with the ScriptManagerProxy control.

Attributes

Remarks

The Services collection enables you to add services to any services that are already registered with the ScriptManager control.

You can add service references to the Services collection declaratively by using the ServiceReference element. You can add service references programmatically by adding ServiceReference objects to the Services collection.

If a service is already registered with the ScriptManagerProxy or ScriptManager control, the service is not registered again.

Applies to