Share via


FailureEventLogInterval Element (ADF)

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

Sintassi

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

Osservazioni

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.

Esempio

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>

Vedere anche

Altre risorse

Impostazione del nome e dei campi del protocollo di recapito
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005