public static void SSAS_OLAP() { var solution = PrepareSolution(); string dwOleDbConnStr = "Provider=sqloledb;Data Source=.;Initial Catalog=OLAPDW;User Id=sa;Password=sa;"; string olapConnString = "Data Source = .;Provider=msolap"; //SerializeHelper.XmlSerializeToFile(solution, "solution.xml", true); //var newSolution = SerializeHelper.XmlDeserializeFromFile<Solution>("solution.xml"); //SerializeHelper.XmlSerializeToFile(newSolution, "solution_new.xml", true); SSASFactory factory = new SSASFactory(dwOleDbConnStr, olapConnString); factory.DeleteSolution(solution); factory.CreateSolution(solution); Console.WriteLine("OK"); }