SPAlert.EventType Property

Gets or sets the type of event to which the alert applies.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property EventType As SPEventType
    Get
    Set
'Usage
Dim instance As SPAlert
Dim value As SPEventType

value = instance.EventType

instance.EventType = value
public SPEventType EventType { get; set; }

Property Value

Type: Microsoft.SharePoint.SPEventType
A value that specifies the types of event which the alert is about. The default value is All.

See Also

Reference

SPAlert Class

SPAlert Members

Microsoft.SharePoint Namespace