private static void UpdateServerMappings(MappingConfiguration.Dom.MappingConfiguration mappingConfiguration, string[] nodes) { if (nodes != null && mappingConfiguration != null) { foreach (string node in nodes) { try { NCacheRPCService NCache = new NCacheRPCService(node); ICacheServer cacheServer = NCache.GetCacheServer(new TimeSpan(0, 0, 0, 30)); cacheServer.UpdateServerMappingConfig(mappingConfiguration); cacheServer.Dispose(); } catch (Exception ex) { } } } }