Udostępnij za pośrednictwem


PerformanceQueryInterval Element (ADF)

Specifies how frequently the application updates its performance counters.

Syntax

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

Remarks

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

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.

Example

The following example shows how to specify that affected performance counters should be updated once per hour.

<PerformanceQueryInterval>P0DT01H00M00S</PerformanceQueryInterval>

See Also

Reference

Application Definition File Reference

Other Resources

Specifying the Performance Query Interval
Updating Instances and Applications
Notification Services Performance Objects

Help and Information

Getting SQL Server 2005 Assistance