/[AnywhereTS-MSSQL]/trunk/TSAdminTool/Database.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/Database.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/Database.cs	2012/07/14 09:08:21	118
+++ trunk/TSAdminTool/Database.cs	2012/07/14 09:08:55	119
@@ -44,6 +44,7 @@
                 {
                     try
                     {
+
                         conn.CreateConnection(out ErrorInfo);
                         conn.OpenConnection(out ErrorInfo);
                     }
@@ -212,12 +213,7 @@
             }
         }
 
-        // Run a SQL script (to create or update a database)
-        [Obsolete("RunScript(string strFile) is being replaced by RunScript(string strFile, MsSqlConnector con, out Exception ErrorInfo)", false)]
-        public bool RunScript(string strFile)
-        {
-            return false;
-        }
+ 
         public bool RunScript(string strFile, MsSqlConnector con, out Exception ErrorInfo)
         {
             ErrorInfo = null;
@@ -460,12 +456,7 @@
             }
         }
 
-        public string[] ParseScriptToCommands(string strScript)
-        {
-            string[] commands;
-            commands = Regex.Split(strScript, "GO\r\n", RegexOptions.IgnoreCase);
-            return commands;
-        }
+      
 
 
         [Obsolete("SetDatabaseRights() has been deperecated - user rights are assigned via SQL Server")]

 

  ViewVC Help
Powered by ViewVC 1.1.22