ScriptManagerProxy.Services Property
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A collection that contains an ServiceReference object for each service that is registered with the ScriptManagerProxy control.
- Attributes
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
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |