Condividi tramite


Alerts Class

Provides methods for working with alerts for list items in a SharePoint site.

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 Web service].Alerts

Namespace:  [Alerts Web service]
Web service reference: http://Site/_vti_bin/Alerts.asmx

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "AlertsSoap", Namespace := "https://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/")> _
Public Class Alerts _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Alerts
[WebServiceBindingAttribute(Name = "AlertsSoap", Namespace = "https://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 https://Server_Name/[sites/][Site_Name/]_vti_bin/Alerts.asmx.

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

Reference

Alerts Members

Alerts Web Service