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 帮助