WMI Provider for Server Events

WMI Provider for Server Events,第1张

概述You can use WMI to monitor server events.This provider manages a WMI namespace for each instance of SQL Server 2008. The name of the namespace is in the format root\Microsoft\SqlServer\ServerEvents\in

You can use WMI to monitor server events.This provIDer manages a WMI namespace for each instance of sql Server 2008. The name of the namespace is in the format
root\Microsoft\sqlServer\ServerEvents\instance name.To monitor a default instance on a remote computer — for example,DEMOPC — you can use a named
space,\\DEMOPC\root\Microsoft\sqlServer\ServerEvents\MSsqlSERVER.

 

To check whether the Service brokers are enabled on a sql Server instance,and to get the Service broker instance GUID in each database:

SELECT name,is_broker_enabled,service_broker_guID FROM sys.databases

To enable Service broker for a database — for example,the msdb database — use the ALTER DATABASE statement:

ALTER DATABASE msdb SET ENABLE_broKER

总结

以上是内存溢出为你收集整理的WMI Provider for Server Events全部内容,希望文章能够帮你解决WMI Provider for Server Events所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/1179008.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-02
下一篇 2022-06-02

发表评论

登录后才能评论

评论列表(0条)

保存