Partager via


FilterStatement Constructor (Condition, FilterAction)

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

Espace de noms: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • 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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

FilterStatement Class
FilterStatement Members
Microsoft.SqlServer.NotificationServices.Rules Namespace