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 帮助