public void UpdateWorkResourceMetadata() { var ru = new ResourceUpdater(pwaUri) { // TODO: get firewall opened to Hyper-V server client. //OrgConnStr = "Data Source=db-dev.cts.wa.gov;Initial Catalog=Organization;Integrated Security=True", //OrgNavConnStr = "Data Source=db-dev.cts.wa.gov;Initial Catalog=OrganizationNavigator;Integrated Security=True" OrgConnStr = "Data Source=ctsl7f303059.dis.wa.lcl;Initial Catalog=Organization;Integrated Security=True", OrgNavConnStr = "Data Source=ctsl7f303059.dis.wa.lcl;Initial Catalog=OrganizationNavigator;Integrated Security=True" }; l.WriteEntry("instantiated ResourceUpdater."); try { ru.UpdateWorkResources(); l.WriteEntry("ResourceUpdater.UpdateWorkResources succeeded!"); } catch (Exception xcp) { l.WriteEntry("ResourceUpdater.UpdateWorkResources failed! " + xcp.InnerException.GetType().ToString() + ":" + xcp.Message); } }