TopQueries Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |