共用方式為


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.

語法

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

備註

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.

範例

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

<FailuresBeforeAbort>10</FailuresBeforeAbort>

請參閱

參考

Application Definition File Reference

其他資源

指定傳遞通訊協定名稱與欄位
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助