GetServersInRole(int roleId) Method

Returns information about all of the servers which belong to the specified server role.

Syntax

public static IEnumerable<SDK.ServerInfo> GetServersInRole(int roleId)

Parameters

roleId
Type: int

The ID of the server role.

Returns

All servers in the specified server role.