共用方式為


ActionTimeout Element for ScheduledRule (ADF)

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

語法

<SubscriptionClasses>
    <SubscriptionClass>
        ...
        <ScheduledRules>
            <ScheduledRule>
                ...
                <ActionTimeout>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

30 minutes (PT30M).

Occurrence

Optional once per ScheduledRule element.

Updates

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

Element Relationships

Relationship Elements

Parent element

ScheduledRule Element (ADF)

Child elements

None.

備註

If an action does not complete in the time specified by ActionTimeout, the action is canceled and an error is recorded 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 one minute and fifteen seconds.

<ActionTimeout>PT1M15S</ActionTimeout>

請參閱

參考

Application Definition File Reference

其他資源

定義排程規則
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助