Partager via


FailuresBeforeAbort Element (ADF)

Specifies the number of consecutive notification delivery failures that can occur when attempting to deliver a distributor work item before the attempt is aborted and an error is reported to the event log.

Syntaxe

<NotificationClasses>
    <NotificationClass>
        ...
        <Protocols>
            <Protocol>
                <ProtocolExecutionSettings>
                    ...
                    <FailuresBeforeAbort>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

20.

Occurrence

Optional once per ProtocolExecutionSettings element.

Updates

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

Element Relationships

Relationship Elements

Parent element

ProtocolExecutionSettings Element (ADF)

Child elements

None.

Notes

When the FailuresBeforeAbort limit is reached, the distributor writes a message to the application log and then marks the work item as failed. In this case, there might be notifications in the work item that were never attempted. If there is a retry schedule, the distributor will pick up the work item at the next retry interval and retry both the failed notifications and those that were never attempted.

Exemple

The following example shows how to specify that ten consecutive delivery failures are permissible before aborting any further attempts.

<FailuresBeforeAbort>10</FailuresBeforeAbort>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Spécification du nom et des champs du protocole de remise
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005