更新时间:2023-02-03 07:58:13
绝对。它只是使用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