MetricDefinition 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 metric definition.
public class MetricDefinition
type MetricDefinition = class
Public Class MetricDefinition
- Inheritance
-
MetricDefinition
Constructors
MetricDefinition() |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition(MetricName, PrimaryAggregationType, String, UnitDefinitionType, IList<MetricAvailability>) |
Initializes a new instance of the MetricDefinition class. |
Properties
MetricAvailabilities |
Gets the list of database metric availabilities for the metric. |
Name |
Gets the name information for the metric. |
PrimaryAggregationType |
Gets the primary aggregation type defining how metric values are displayed. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' |
ResourceUri |
Gets the resource uri of the database. |
Unit |
Gets the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond' |