/[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 115 by william, Sat Jul 14 06:24:01 2012 UTC revision 116 by william, Sat Jul 14 08:03:33 2012 UTC
# Line 38  namespace AnywhereTS Line 38  namespace AnywhereTS
38                  bool bContinue = false;                  bool bContinue = false;
39                  // Create a connection to SQL Server                  // Create a connection to SQL Server
40                  Logging.ATSAdminLog.Debug("SetupDatabase() called ");                  Logging.ATSAdminLog.Debug("SetupDatabase() called ");
                 ProSupport.strDatabaseServer = AnywhereTS.DBSupport.Properties.Settings.Default.DBServer;  
                 ProSupport.strDatabaseInstance = AnywhereTS.DBSupport.Properties.Settings.Default.DBInstance;  
   
                 ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseServer, ProSupport.strDatabaseServer);  
                 ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseInstance, ProSupport.strDatabaseInstance);  
   
41                  #region comment-code                  #region comment-code
42                  #region Database Creation support                  #region Database Creation support
43                  using (MsSqlConnector conn = new MsSqlConnector(ProSupport.strDatabaseServer, ProSupport.strDatabaseInstance, ATSGlobals.strDatabaseName))                  using (MsSqlConnector conn = new MsSqlConnector(ProSupport.strDatabaseServer, ProSupport.strDatabaseInstance, ATSGlobals.strDatabaseName))

Legend:
Removed from v.115  
changed lines
  Added in v.116

  ViewVC Help
Powered by ViewVC 1.1.22