ActionTimeout Element for ChronicleRule (ADF)

Specifies an interval during which the Transact-SQL statements specified in the event chronicle Action element must complete.

语法

<EventClasses>
    <EventClass>
        ...
        <ChronicleRule>
            ...
            <ActionTimeout>

Element Characteristics

Characteristic Description

Data type

duration

Default value

30 minutes (PT30M).

Occurrence

Optional once per ChronicleRule element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

ChronicleRule Element (ADF)

Child elements

None.

备注

If an action does not complete in the time specified by ActionTimeout, Notification Services cancels the action and writes an error in the event log.

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.

示例

This example shows an ActionTimeout element with a value of five minutes.

<ActionTimeout>PT5M</ActionTimeout>

请参阅

参考

Application Definition File Reference

其他资源

定义事件历史记录规则
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助