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)

'Declaration
Function PreUpdate ( _
	a As SPAlert, _
	web As SPWeb, _
	newAlert As Boolean, _
	properties As String _
) As Boolean
'Usage
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)

Parameters

a
Type: Microsoft.SharePoint.SPAlert

An SPAlert object representing the alert.

web
Type: Microsoft.SharePoint.SPWeb

An SPWeb object representing the Web site.

newAlert
Type: System.Boolean

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

properties
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.
Show: