C#啓動中止SQL數據庫服務

方法一:在命令行裏填寫命令:net start/stop mssqlserversql 方法二:經過C#代碼實現;  using System; using System.Windows.Forms; using System.ServiceProcess; class Test : Form { Test() { //啓動按鈕; Button btn1 = new Bu
相關文章
相關標籤/搜索