We are using the below code to refresh all the systems. As per our requirement, there is a list of servers, some of which are connected. If suppose one server is down, our requirement is to show all the other connected systems. I am using below code to get the list of connected servers.
List<string> afServer = new List<string>();
PISystems systems = new PISystems();
foreach (PISystem server in systems)
The issue is that if a server is down, then after refresh, it is showing error that "Can't connect to server :'serverName'". Our requirement is that it should skip the disconnected server but refresh other connected servers.