共用方式為


FilterStatement Constructor (Condition, FilterAction)

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

命名空間: Microsoft.SqlServer.NotificationServices.Rules
組件: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

語法

'宣告
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
)

參數

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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