摘要: static void GetServiceState() { /* 描述: 启动服务 * 添加引用: using System.ServiceProcess; using System.Management; */ const string ServiceName = "SQLSERVERAGENT"; Console.WriteLine(string.Format("启动服务:{0}"... 阅读全文
posted @ 2013-05-31 16:47 Rhythmk 阅读(134) 评论(0) 推荐(0) 编辑
Rhythmk 个人笔记