Udostępnij za pośrednictwem


FilterStatement Constructor (Condition, FilterAction)

Initializes a new instance of the FilterStatement class with a condition and an action.

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

Syntax

'Declaration
Public Sub New ( _
    condition As Condition, _
    action As FilterAction _
)
public FilterStatement (
    Condition condition,
    FilterAction action
)
public:
FilterStatement (
    Condition^ condition, 
    FilterAction action
)
public FilterStatement (
    Condition condition, 
    FilterAction action
)
public function FilterStatement (
    condition : Condition, 
    action : FilterAction
)

Parameters

  • condition
    The Condition that represents the condition to evaluate. This parameter sets Condition property.
  • action
    The FilterAction that represents the action to perform if the condition is met. This parameter sets Action property.

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 Class
FilterStatement Members
Microsoft.SqlServer.NotificationServices.Rules Namespace