Partager via


NotificationThrottle Element (ADF)

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

Syntaxe

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

Notes

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 Spécification d'accélérateurs pour les événements, les abonnements et les notifications.

Exemple

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>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Spécification d'accélérateurs pour les événements, les abonnements et les notifications
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005