Gets the set of Role
objects defined for the hosted service.
Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)
Public Shared ReadOnly Property Roles As IDictionary(Of String, Role)
that contains the Role
objects that are defined for the hosted service.
Roles are defined in the ServiceDefinition.csdef file. For more information about defining roles for a hosted service, see Setting Up a Hosted Service for Windows Azure.
The following code example shows how to obtain the role instance IDs for defined roles:
No code example is currently available or this language may not be supported.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012