RoleInstanceDiagnosticManager.RoleName Property

 

Gets the name of the role for this role instance.

Namespace:   Microsoft.WindowsAzure.Diagnostics.Management
Assembly:  Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)

Syntax

public string RoleName { get; private set; }
public:
property String^ RoleName {
    String^ get();
    private: void set(String^ value);
}
member RoleName : string with get, private set
Public Property RoleName As String
    Get
    Private Set
End Property

Property Value

Type: System.String

Type: System.String

Returns String.

Remarks

The RoleName property returns the role name of a role instance.

Warning

This API is not supported in Azure SDK versions 2.5 and higher. Instead, use the diagnostics.wadcfg XML configuration file. For more information, see Collect Logging Data by Using Azure Diagnostics.

See Also

RoleInstanceDiagnosticManager Class
Microsoft.WindowsAzure.Diagnostics.Management Namespace

Return to top