/[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

revision 90 by william, Fri Jul 13 22:58:13 2012 UTC revision 92 by william, Sat Jul 14 00:55:41 2012 UTC
# Line 35  namespace AnywhereTS Line 35  namespace AnywhereTS
35              Exception ErrorInfo = null;              Exception ErrorInfo = null;
36              bool bContinue = false;              bool bContinue = false;
37              // Create a connection to SQL Server              // Create a connection to SQL Server
38                
39                ProSupport.strDatabaseServer = Properties.Settings.Default.DBServer;
40                ProSupport.strDatabaseInstance = Properties.Settings.Default.DBInstance;
41    
42                ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseServer, ProSupport.strDatabaseServer);
43                ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseInstance, ProSupport.strRegDatabaseInstance);
44    
45              Logging.ATSAdminLog.Debug("SetupDatabase() called ");              Logging.ATSAdminLog.Debug("SetupDatabase() called ");
46              #region Database Creation support              #region Database Creation support
47              using (MsSqlConnector conn = new MsSqlConnector(Properties.Settings.Default.DBServer, Properties.Settings.Default.DBInstance, ATSGlobals.strDatabaseName))              using (MsSqlConnector conn = new MsSqlConnector(Properties.Settings.Default.DBServer, Properties.Settings.Default.DBInstance, ATSGlobals.strDatabaseName))

Legend:
Removed from v.90  
changed lines
  Added in v.92

  ViewVC Help
Powered by ViewVC 1.1.22