GetServersInEnvironment(int environmentId) Method

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

Syntax

public static IEnumerable<SDK.ServerInfo> GetServersInEnvironment(int environmentId)

Parameters

environmentId
Type: int

The ID of the environment.

Returns

All servers in the specified environment.