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)

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