WMI Provider for Server Events
2012-03-22 13:20
344 查看
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
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
相关文章推荐
- Microsoft OLE DB Provider for SQL Server 错误 '80040e37'解决方法
- .NET Framework Data Provider for SQL Server
- Microsoft OLE DB Provider for SQL Server 错误 '80040e21'
- Microsoft OLE DB Provider for SQL Server 错误 '80040e2f'
- Microsoft OLE DB Provider for SQL Server错误80040e37
- Microsoft OLE DB Provider for SQL Server 错误 '80040e31' 超时已过期
- Cannot connect to WMI provider.You do not have permission or the server is unreachable.Note that you can only manager SQL Server 2005 and later version with SQL Server Configuration Manager.Invalid namespace [0x8004100e]
- Customer Data Provider for SQL Report Server
- “Microsoft OLE DB Provider for SQL Server 错误 '80040e09',拒绝了对对象 'Art_Config' (数据库 'GY_SFJ',架构 'dbo')”
- win2003没有OLE DB Provider for SQLServer驱动,可安装sqlserver2000或者安装MDAC2.6,适用于winxp、win2003
- Microsoft OLE DB Provider for SQL Server 错误 '80040e14' 全文操作运行失败。查询子句只包含被忽略的词。
- Microsoft OLE DB Provider for SQL Server 错误 '80040e14' 列名 'xxx' 无效。
- Managing Server Network Protocols with WMI Provider
- 立即注册Oracle虚拟开发者日:Oracle WebLogic Server & Java EE (Virtual Developer Day: A New Breed of Events for Java developers )
- OLE DB provider "SQLNCLI11" for linked server "10.0.9.137" returned message "事务中的登记已经存在。". 消息 7395,级
- OLE DB provider "MICROSOFT.JET.OLEDB.4.0" for linked server
- 星外虚拟主机管理平台 开通数据库 出现Microsoft OLE DB Provider for SQL Server 错误 '8004' 从字符串向 datetime 转换失败
- Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "OraOLEDB.Oracle" for linked server xxxx
- SQL Server 2008 R2 Linked Server to DB2 using Microsoft OLEDB provider for odbc. Fail
- Microsoft OLE DB Provider for SQL Server 错误 '80040e4d'