public List <ServerInfo> GetCasServers(ADObjectId site) { SiteConfigCache.Item item = this.siteConfigCache.Get(site); if (item == null || item.CasServerInfos.Count == 0) { return(null); } return(item.CasServerInfos); }
public int GetHubServersInSite(ADObjectId site, out List <string> hubServerFqdns, out HashSet <string> hubServerFqdnTable) { hubServerFqdns = null; hubServerFqdnTable = null; SiteConfigCache.Item item = this.siteConfigCache.Get(site); if (item == null || item.HubServerFqdns.Count == 0) { return(0); } hubServerFqdns = item.HubServerFqdns; hubServerFqdnTable = item.HubServerTable; return(hubServerFqdns.Count); }