SALES: 1-800-867-1380

DeploymentDiagnosticManager.GetRoleInstanceIdsForRole Method

Updated: November 15, 2013

Returns a list of IDs of active role instances that have a diagnostic monitor running.

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

public IEnumerable<string> GetRoleInstanceIdsForRole (
	string roleName
)

Parameters

roleName

Type: System.String

The name of the role.

Return Value

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft