Share via


SPAlert.Filter Property

Gets or sets the query in Collaborative Application Markup Language (CAML) for a filter to apply to the alert.

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

Syntax

'Declaration
Public Property Filter As String
    Get
    Set
'Usage
Dim instance As SPAlert
Dim value As String

value = instance.Filter

instance.Filter = value
public string Filter { get; set; }

Property Value

Type: System.String
A CAML string that contains the query.

See Also

Reference

SPAlert Class

SPAlert Members

Microsoft.SharePoint Namespace