Share via


Deployment.Roles Property

Gets or sets a collection of Role objects that define roles in the deployment.

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

Usage

'Usage
Dim instance As Deployment
Dim value As IList(Of Role)

value = instance.Roles

instance.Roles = value

Syntax

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

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

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

Property Value

A collection of Role objects.

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

Deployment Class
Deployment Members
Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetDetailedResponse Namespace