Compartilhar via


NotificationBatchSize Element (ADF)

For notifications not sent using digest delivery, NotificationBatchSize specifies the maximum number of notifications per batch for the notification class. For digest notifications, NotificationBatchSize specifies the number of notification batches that will be created.

Syntax

<NotificationClasses>
    <NotificationClass>
        ...
        <NotificationBatchSize>

Element Characteristics

Characteristic Description

Data type

Nonnegative integer.

Default value

0, which means unlimited notifications per batch for regular notifications or one notification batch for digest notifications.

Occurrence

Optional once per NotificationClass element.

Updates

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

Element Relationships

Relationship Elements

Parent element

NotificationClass Element (ADF)

Child elements

None.

Remarks

NotificationBatchSize must be set to zero or not specified in Standard Edition.

For notifications that are not sent using digest delivery, the NotificationBatchSize value specifies the maximum number of notifications that can be included in a notification batch from a single rule firing. If the number of notifications generated from a single rule firing exceeds the NotificationBatchSize value, Notification Services creates multiple notification batches. Notifications within a notification batch can be considered for multicast delivery.

For digest delivery, NotificationBatchSize specifies the number of notification batches permitted from a single invocation of the generator, not the size of each batch. This is intended for use with large numbers of notifications. If the number of notifications generated is small, the number of notification batches might be different than specified.

Example

If you are not using digest delivery, the following example shows how to restrict the notification batch size to 100 notifications.

<NotificationBatchSize>100</NotificationBatchSize>

For digest delivery, the following example specifies that the generator produce two notification batches (approximately) per invocation. Notifications within a batch can be combined with digest delivery.

<NotificationBatchSize>2</NotificationBatchSize>

See Also

Reference

DigestDelivery Element (ADF)
Application Definition File Reference

Other Resources

Specifying the Notification Batch Size
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance