Alerts Class (Alerts)
Provides methods for working with alerts for list items in a SharePoint site.

Web Service: AlertsWeb Reference: http://<Site>/_vti_bin/Alerts.asmx
Syntax

Visual Basic (Declaration)
<DebuggerStepThroughAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DesignerCategoryAttribute("code")> _
<WebServiceBindingAttribute(Name:="AlertsSoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/")> _
Public Class Alerts
    Inherits SoapHttpClientProtocol
Visual Basic (Usage)
Dim instance As Alerts
C#
[DebuggerStepThroughAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DesignerCategoryAttribute("code")] 
[WebServiceBindingAttribute(Name="AlertsSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/")] 
public class Alerts : SoapHttpClientProtocol
Remarks

To access the Alerts service and its methods, set a Web reference to http://Server_Name/[sites/][Site_Name/]_vti_bin/Alerts.asmx.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Alerts.Alerts
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Page view tracker