Share via


WebHostingPlanGetHistoricalUsageMetricsParameters.TimeGrain Property

Optional. The grain at which the metrics are returned. Supported values are PT1M (minute), PT1H (hour), P1D (day).

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

Usage

'Usage
Dim instance As WebHostingPlanGetHistoricalUsageMetricsParameters
Dim value As String

value = instance.TimeGrain

instance.TimeGrain = value

Syntax

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

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

public function set TimeGrain (value : String)

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

WebHostingPlanGetHistoricalUsageMetricsParameters Class
WebHostingPlanGetHistoricalUsageMetricsParameters Members
Microsoft.WindowsAzure.Management.WebSites.Models Namespace