Go to my github

开启SQL Server服务

///
        /// 开启SQL Server服务
        ///
        public static void ProSQLServer()
        {
            Process pro = new Process();
            pro.StartInfo.FileName = "cmd.exe";
            pro.StartInfo.UseShellExecute = false;
            pro.StartInfo.RedirectStandardInput = true;
            pro.StartInfo.RedirectStandardOutput = true;
            pro.StartInfo.RedirectStandardError = true;
            pro.Star

posted @ 2008-11-07 10:54  峡谷少爷  阅读(218)  评论(0编辑  收藏  举报