Metric 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.
Database metrics.
public class Metric
type Metric = class
Public Class Metric
- Inheritance
-
Metric
Constructors
Metric() |
Initializes a new instance of the Metric class. |
Metric(Nullable<DateTime>, Nullable<DateTime>, String, UnitType, MetricName, IList<MetricValue>) |
Initializes a new instance of the Metric class. |
Properties
EndTime |
Gets the end time for the metric (ISO-8601 format). |
MetricValues |
Gets the metric values for the specified time window and timestep. |
Name |
Gets the name information for the metric. |
StartTime |
Gets the start time for the metric (ISO-8601 format). |
TimeGrain |
Gets the time step to be used to summarize the metric values. |
Unit |
Gets the unit of the metric. Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', 'bytesPerSecond' |