RoleInstanceDiagnosticManager.RoleInstanceId Property


Gets the ID of this role instance.

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

public string RoleInstanceId { get; private set; }

Property Value

Type: System.String

Type: System.String

Returns String.

The RoleInstanceId property returns the ID of the role instance. If you create a RoleInstanceDiagnosticManager by using the GetRoleInstanceDiagnosticManagersForRole method, you can use this property to retrieve the RoleInstanceId for the RoleInstanceDiagnosticManager.


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.

Return to top