Share via


FilterStatement Class

Describes a logic statement in the form "IF <Condition> THEN <Action>". This class cannot be inherited.

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
Public Class FilterStatement
    Inherits LogicStatement
public class FilterStatement : LogicStatement
public ref class FilterStatement : public LogicStatement
public class FilterStatement extends LogicStatement
public class FilterStatement extends LogicStatement

Remarks

FilterStatement objects are used by FilterRule objects. If the condition for the filter statement is met, the action defined by the Action property is performed.

You must set the Condition property using the property or the FilterStatement(Condition,FilterAction) constructor.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.NotificationServices.Rules.RuleObject
     Microsoft.SqlServer.NotificationServices.Rules.LogicStatement
      Microsoft.SqlServer.NotificationServices.Rules.FilterStatement

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

FilterStatement Members
Microsoft.SqlServer.NotificationServices.Rules Namespace