Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
'Declaration <PersistenceModeAttribute(PersistenceMode.InnerProperty)> _ Public ReadOnly Property Services As ServiceReferenceCollection 'Usage Dim instance As ScriptManager Dim value As ServiceReferenceCollection value = instance.Services
The ServiceReferenceCollection object that is returned by this property is a collection of ServiceReference objects, each of which represents a Web service that is registered with the ScriptManager control . You can define services in the ScriptManager control or in an associated ScriptManagerProxy control.
You can add services to the collection in markup by adding an asp:ServiceReference element to a Services element inside the asp:ScriptManager instance on the page, as shown in the following example.
<asp:ScriptManager ID="SM1" runat="server"> <Services> <asp:ServiceReference Path="Service.asmx" /> </Services> </asp:ScriptManager>
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.