Share via


DataVirtualHardDisk.Label Property

Optional. Specifies the friendly name of the VHD used to create the data disk for the virtual machine.

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

Usage

'Usage
Dim instance As DataVirtualHardDisk
Dim value As String

value = instance.Label

instance.Label = value

Syntax

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

/** @property */
public void set_Label (String value)
public function get Label () : String

public function set Label (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

DataVirtualHardDisk Class
DataVirtualHardDisk Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace