Поделиться через


FailureEventLogInterval Element (ADF)

Specifies the minimum amount of time that must pass between writes to the event log, regardless of how many failures occur.

Синтаксис

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

Element Characteristics

Characteristic Description

Data type

duration.

Default value

0 minutes.

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.

Замечания

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the Microsoft MSDN® Library.

The FailureEventLogInterval element works in conjunction with the FailureBeforeLoggingEvent element to allow you to configure the error logging to fit the needs of your application and to prevent excessive messages in the event log.

Пример

The following example shows a populated FailureEventLogInterval element. The value specifies that 15 minutes must pass before consecutive failure events are logged.

<FailureEventLogInterval>PT00H15M00S</FailureEventLogInterval>

См. также

Другие ресурсы

Задание имени и полей протокола доставки
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005