Share via


Role.Label Property

Gets or sets an identifier for the deployment.

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

Usage

'Usage
Dim instance As Role
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)

Property Value

The identifier.

Remarks

The label can be up to 100 characters long. The label can be used for tracking purposes.

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

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