Share via


SPAlert.Update method

Updates the SharePoint database with changes made to the alert.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Update
'Usage
Dim instance As SPAlert

instance.Update()
public void Update()

Remarks

If the size or number of properties in the alert is too large to be saved in the database, the Update method throws an exception.

Implementing this method for new alerts results by default in sending e-mail confirmation, but does not generate confirmation e-mails for edits made to existing alerts.

See also

Reference

SPAlert class

SPAlert members

Update overload

Microsoft.SharePoint namespace