Share via


HistoricalUsageMetricData.Unit Property

Gets or sets the unit of measurement for the metric.

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

Usage

'Usage
Dim instance As HistoricalUsageMetricData
Dim value As String

value = instance.Unit

instance.Unit = value

Syntax

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

/** @property */
public void set_Unit (String value)
public function get Unit () : String

public function set Unit (value : String)

Property Value

The unit of measurement.

Remarks

For example, milliseconds, bytes, or count.

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

HistoricalUsageMetricData Class
HistoricalUsageMetricData Members
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetHistoricalUsageMetricsResponse Namespace