共用方式為


NotificationThrottle Element (ADF)

Specifies the number of notifications that can be produced per notification class from a single rule firing.

語法

<ApplicationExecutionSettings>
    ...
    <NotificationThrottle>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

1,000.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Child elements

None.

備註

Use the NotificationThrottle element to guard against large numbers notifications being generated due to events and subscriptions from external sources.

During each quantum, the generator runs rules that generate notifications. If the NotificationThrottle value is exceeded, the generator throws an error and stops the rule. Other rules within the quantum are not affected unless they also exceed the throttle value.

If you set the NotificationThrottle value to 0, there is no limit to the number of notifications generated from a single rule.

For additional information, see 指定事件、訂閱與通知的流速.

範例

The following example shows how to specify that a single generator quantum can produce no more than 3500 notifications per notification class.

<NotificationThrottle>3500</NotificationThrottle>

請參閱

參考

Application Definition File Reference

其他資源

指定事件、訂閱與通知的流速
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助