SQL Server [英] SQL Server
本文介绍了SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以从VB代码停止并启动SQL Sever吗?我将有
管理帐户这样做...
VJ
解决方案
绝对。它只是使用ServiceController
类的几行代码。
http://msdn.microsoft.com/library/de...tinstances.asp
Scott Swigart
blog.swigartconsulting.com
www.swigartconsulting.com
" VJ"写道:
我可以从VB代码停止并启动SQL Sever吗?我将拥有
管理帐户...
VJ
can I stop and start a SQL Sever from VB code? i will have the
Administrative account to do so...
VJ
解决方案
Absolutely. It''s just a couple of lines of code with the ServiceController
class.
http://msdn.microsoft.com/library/de...tinstances.asp
Scott Swigart
blog.swigartconsulting.com
www.swigartconsulting.com
"VJ" wrote:
can I stop and start a SQL Sever from VB code? i will have the
Administrative account to do so...
VJ
这篇关于SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文