Share via


VirtualMachineShutdownRolesParameters.Roles Property

Gets or sets a list of Virtual Machine names to shut down.

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

Usage

'Usage
Dim instance As VirtualMachineShutdownRolesParameters
Dim value As IList(Of String)

value = instance.Roles

instance.Roles = value

Syntax

'Declaration
Public Property Roles As IList(Of String)
public IList<string> Roles { get; set; }
public:
property IList<String^>^ Roles {
    IList<String^>^ get ();
    void set (IList<String^>^ value);
}
/** @property */
public IList<String> get_Roles ()

/** @property */
public void set_Roles (IList<String> value)
public function get Roles () : IList<String>

public function set Roles (value : IList<String>)

Property Value

The list of Virtual Machines.

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

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