private static void ReadRegisteredServers(string xmlPath) { XmlDocument doc = new XmlDocument(); doc.Load(xmlPath);
if (!System.IO.File.Exists(ssmsPath)) { ssmsPath = @"C:\Program Files\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe"; } ssms 18
// Read recent connections Console.WriteLine("\nRecent Connections:"); SSMSRecentConnections.ReadRecentConnections(); } else { Console.WriteLine("✗ SSMS 18 is not installed"); Console.WriteLine("Please download from: https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms"); } } ssms 18
private static void ReadRegisteredServers(string xmlPath) { XmlDocument doc = new XmlDocument(); doc.Load(xmlPath);
if (!System.IO.File.Exists(ssmsPath)) { ssmsPath = @"C:\Program Files\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe"; }
// Read recent connections Console.WriteLine("\nRecent Connections:"); SSMSRecentConnections.ReadRecentConnections(); } else { Console.WriteLine("✗ SSMS 18 is not installed"); Console.WriteLine("Please download from: https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms"); } }
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.
More information