title: Open .sql file SQL Server Management Studio from a folder throught C# with a specfic server name
body: <p>I need to open .sql files from a folder using c# . i am using this code to open .sql files    </p>
  
  <pre><code>string[] Files = Directory.GetFiles(Folder);
              foreach (string File in Files)
              {
                  System.Diagnostics.Process.Start(File);
              }
  </code></pre>
  
  <p>this code is working fine but...</p>
  
  <p><strong>I want to open SSMS in a specific server connection through c#.</strong></p>
  
  <p>Explanation: I want my c# code to open SSMS in a specfic server connection so that user dose not have to connect to a server when SSMS opens.</p>
  
  <p>Thanks </p>