Condividi tramite


ActionTimeout Element for EventRule (ADF)

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

Sintassi

<SubscriptionClasses>
    <SubscriptionClass>
        ...
        <EventRules>
            <EventRule>
                ...
                <ActionTimeout>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

30 minutes (PT30M).

Occurrence

Optional once per EventRule element.

Updates

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

Element Relationships

Relationship Elements

Parent element

EventRule Element (ADF)

Child elements

None.

Osservazioni

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.

Esempio

This example shows an ActionTimeout element with a value of thirty seconds.

<ActionTimeout>PT30S</ActionTimeout>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Definizione delle regole eventi
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005