共用方式為


QuantumDuration Element for ApplicationExecutionSettings (ADF)

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

語法

<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.

備註

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 Database Engine by running the rules more frequently. For more information, see 指定產生器配量持續時間.

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.

範例

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

<QuantumDuration>P0DT00H15M00S</QuantumDuration>

請參閱

參考

QuantumDuration Element for Distributor (ADF)
Application Definition File Reference

其他資源

指定產生器配量持續時間
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助