Поделиться через


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