RoleInstanceDiagnosticManager.RoleInstanceId Property
Gets the ID of this role instance.
Namespace: Microsoft.WindowsAzure.Diagnostics.Management
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
Syntax
public string RoleInstanceId { get; private set; }
public:
property String^ RoleInstanceId {
String^ get();
private: void set(String^ value);
}
member RoleInstanceId : string with get, private set
Public Property RoleInstanceId As String
Get
Private Set
End Property
Property Value
Type: System.String
Type: System.String
Returns String.
Remarks
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.
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