daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Jan 19th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static string SQLSERVERNAME = "";
  2.   public static string HMSTENANTDB;
  3.   public static string SQLLOGIN;
  4.   public static string SQLPASSWORD;
  5.  
  6.     public override void Commit(IDictionary savedState)
  7.     {
  8.     base.Commit(savedState);
  9.     try
  10.     {
  11.     SQLSERVERNAME = Context.Parameters["SQLSERVERNAME"];
  12.     HMSTENANTDB = Context.Parameters["HMSTENANTDB"];
  13.     SQLLOGIN = Context.Parameters["SQLLOGIN"];
  14.     SQLPASSWORD = Context.Parameters["SQLPASSWORD"];  
  15.     }
  16.     catch (Exception e)
  17.     {
  18.     MessageBox.Show("Failed to update the application configuration file : " + e.Message);
  19.     base.Rollback(savedState);
  20.     }
  21.     }
  22.    
  23. InstallerSetup InsSetup = new InstallerSetup();
  24. string Vsqlserver = InsSetup.Installers.Count.ToString();
  25. string Vtenant = "";
  26. if (InsSetup.Context != null)
  27. {
  28. Vtenant = InsSetup.Context.Parameters["HMSTENANTDB"];
  29. }
  30. else
  31. {
  32. Vtenant = "context is null";
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top