/[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/13 22:58:13	90
+++ trunk/TSAdminTool/Database.cs	2012/07/14 00:55:41	92
@@ -35,7 +35,13 @@
             Exception ErrorInfo = null;
             bool bContinue = false;
             // Create a connection to SQL Server
-            
+
+            ProSupport.strDatabaseServer = Properties.Settings.Default.DBServer;
+            ProSupport.strDatabaseInstance = Properties.Settings.Default.DBInstance;
+
+            ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseServer, ProSupport.strDatabaseServer);
+            ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseInstance, ProSupport.strRegDatabaseInstance);
+
             Logging.ATSAdminLog.Debug("SetupDatabase() called ");
             #region Database Creation support
             using (MsSqlConnector conn = new MsSqlConnector(Properties.Settings.Default.DBServer, Properties.Settings.Default.DBInstance, ATSGlobals.strDatabaseName))

 

  ViewVC Help
Powered by ViewVC 1.1.22