共用方式為


PerformanceQueryInterval Element (ADF)

Specifies how frequently the application updates its performance counters.

語法

<ApplicationExecutionSettings>
    ...
    <PerformanceQueryInterval>

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.

備註

Each application has performance counters that provide information to help you monitor the application. The PerformanceQueryInterval element configures how often the application updates its performance counters. For more information about performance counters, see Notification Services 效能物件.

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 specify that affected performance counters should be updated once per hour.

<PerformanceQueryInterval>P0DT01H00M00S</PerformanceQueryInterval>

請參閱

參考

Application Definition File Reference

其他資源

指定效能查詢間隔
更新執行個體及應用程式
Notification Services 效能物件

說明及資訊

取得 SQL Server 2005 協助