Share via


VirtualMachineCreateParameters.RoleName Property

Gets or sets the name of 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 VirtualMachineCreateParameters
Dim value As String

value = instance.RoleName

instance.RoleName = value

Syntax

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

/** @property */
public void set_RoleName (String value)
public function get RoleName () : String

public function set RoleName (value : String)

Property Value

The name.

Remarks

The name must be unique within the deployment.

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

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