IAlertUpdateHandler.PreUpdate method

Synchronous Before event that occurs when an alert is modified in the user interface.

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

Function PreUpdate ( _
	a As SPAlert, _
	web As SPWeb, _
	newAlert As Boolean, _
	properties As String _
) As Boolean
Dim instance As IAlertUpdateHandler
Dim a As SPAlert
Dim web As SPWeb
Dim newAlert As Boolean
Dim properties As String
Dim returnValue As Boolean

returnValue = instance.PreUpdate(a, web, _
	newAlert, properties)


Type: Microsoft.SharePoint.SPAlert

An SPAlert object representing the alert.

Type: Microsoft.SharePoint.SPWeb

An SPWeb object representing the Web site.

Type: System.Boolean

true if the alert being handled is new; otherwise, false.

Type: System.String

A string containing properties of the alert.

Return value

Type: System.Boolean
A Boolean value that can be used to prevent the update or to throw an SPException.