Updated: November 15, 2013
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
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.
Development PlatformsWindows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012