Share via


SPAlert.AlwaysNotify Property

Gets or sets a value that indicates whether a daily or weekly alert is always sent, even if there is no matching event.

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

Syntax

'Declaration
Public Property AlwaysNotify As Boolean
    Get
    Set
'Usage
Dim instance As SPAlert
Dim value As Boolean

value = instance.AlwaysNotify

instance.AlwaysNotify = value
public bool AlwaysNotify { get; set; }

Property Value

Type: System.Boolean
true if the alert is always sent; otherwise, false.

Remarks

This property has no effect on immediate alerts.

See Also

Reference

SPAlert Class

SPAlert Members

Microsoft.SharePoint Namespace