public App() { if (!ServiceExtensions.IsStarted("MSSQLServer", true)) { Log.Write("Microsoft SQL Server is not started"); Application.Current.Shutdown(); } }
public App() { if (!ServiceExtensions.IsStarted("MSSQLServer", true)) { Log.Write("Microsoft SQL Server is not started"); Application.Current.Shutdown(); } }