- Timestamp:
- 01/14/09 16:05:26 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DBSettings.cs
r1102 r1120 27 27 namespace HeuristicLab.Hive.Server.ADODataAccess.Properties { 28 28 29 internal sealed partialclass Settings : global::System.Configuration.ApplicationSettingsBase {29 internal sealed class Settings : global::System.Configuration.ApplicationSettingsBase { 30 30 31 31 private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); … … 37 37 } 38 38 39 /*private static String pw = "hive";39 private static String pw = "hive"; 40 40 private static String un = "hive"; 41 41 private static String address = "10.22.20.84"; 42 private static String catalog = "HiveServer"; */42 private static String catalog = "HiveServer"; 43 43 44 44 public static String GetConnString(String adress, String catalog, String un, String pw) { … … 47 47 } 48 48 49 private static string connString = 50 GetConnString(address, catalog, un, pw); 51 49 52 [global::System.Configuration.ApplicationScopedSettingAttribute()] 50 53 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 51 54 [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] 52 [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.22.20.84;Initial Catalog=HiveServer;MultipleActiveResultSets=True;" +53 "Persist Security Info=True;User ID=hive;Password=hive")]54 55 public string HiveServerConnectionString { 55 56 get { 56 return ((string)(this["HiveServerConnectionString"]));57 return connString; 57 58 } 58 59 59 60 private set { 60 this["HiveServerConnectionString"]= value;61 connString = value; 61 62 } 62 63 }
Note: See TracChangeset
for help on using the changeset viewer.