共用方式為


TopQueries Class

Definition

A database query.

public class TopQueries
type TopQueries = class
Public Class TopQueries
Inheritance
TopQueries

Constructors

TopQueries()

Initializes a new instance of the TopQueries class.

TopQueries(Nullable<QueryAggregationFunction>, Nullable<QueryExecutionType>, String, Nullable<Double>, Nullable<DateTime>, Nullable<DateTime>, Nullable<QueryObservedMetricType>, IList<QueryStatistic>)

Initializes a new instance of the TopQueries class.

Properties

AggregationFunction

Gets the function that is used to aggregate each query's metrics. Possible values include: 'min', 'max', 'avg', 'sum'

ExecutionType

Gets the execution type that is used to filter the query instances that are returned. Possible values include: 'any', 'regular', 'irregular', 'aborted', 'exception'

IntervalType

Gets the duration of the interval (ISO8601 duration format).

NumberOfTopQueries

Gets the number of requested queries.

ObservationEndTime

Gets the end time for queries that are returned (ISO8601 format)

ObservationStartTime

Gets the start time for queries that are returned (ISO8601 format)

ObservedMetric

Gets the type of metric to use for ordering the top metrics. Possible values include: 'cpu', 'io', 'logio', 'duration', 'executionCount'

Queries

Gets the list of queries.

Applies to