DeploymentDiagnosticManager::GetRoleInstanceIdsForRole Method (String^)
Returns a list of IDs of active role instances that have a diagnostic monitor running.
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
Parameters
- roleName
-
Type:
System::String^
Type: System.String
The name of the role.
Return Value
Type: System.Collections.Generic::IEnumerable<String^>^Type: System.Collections.Generic.IEnumerable
A list of role instance IDs.
The GetRoleInstanceIdsForRole method creates a list of role instance IDs in a role for which each instance is running a diagnostic monitor. If no role instances in your role are running a diagnostic monitor, this method will return an empty list.
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. |
Show:
