Condividi tramite


QuantumDuration Element for ApplicationExecutionSettings (ADF)

Defines the length of time for a generator quantum, which determines how frequently the generator attempts to process work.

Sintassi

<ApplicationExecutionSettings>
    <QuantumDuration>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

60 seconds.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

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

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Child elements

None.

Osservazioni

The application quantum duration controls how often the generator fires rules to generate notifications. Shorter quantum durations generate notifications more often, but require more resources. You need to balance the need for timely notifications with the processing load placed on the Motore di database by running the rules more frequently. For more information, see Specificazione della durata dei quantum del generatore.

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the MSDN Library.

Esempio

The following example shows how to define a generator quantum duration of 15 minutes.

<QuantumDuration>P0DT00H15M00S</QuantumDuration>

Vedere anche

Riferimento

QuantumDuration Element for Distributor (ADF)
Application Definition File Reference

Altre risorse

Specificazione della durata dei quantum del generatore
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005