MetricDefinition.Unit Property
Optional. The unit 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 MetricDefinition
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)
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
MetricDefinition Class
MetricDefinition Members
Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models Namespace