MetricTrigger.TimeGrain Property
Optional. The frequency of data collection.
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Autoscale.Models
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Usage
'Usage
Dim instance As MetricTrigger
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
MetricTrigger Class
MetricTrigger Members
Microsoft.WindowsAzure.Management.Monitoring.Autoscale.Models Namespace