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