Share via


MetricAvailability.TimeGrain Property

Optional. The time grain specifies the aggregation interval for the metric.

Namespace: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

Usage

'Usage
Dim instance As MetricAvailability
Dim value As TimeSpan

value = instance.TimeGrain

instance.TimeGrain = value

Syntax

'Declaration
Public Property TimeGrain As TimeSpan
public TimeSpan TimeGrain { get; set; }
public:
property TimeSpan TimeGrain {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_TimeGrain ()

/** @property */
public void set_TimeGrain (TimeSpan value)
public function get TimeGrain () : TimeSpan

public function set TimeGrain (value : TimeSpan)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

MetricAvailability Class
MetricAvailability Members
Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models Namespace