Поделиться через


WMI Provider for Server Events

SQL Server 2005 provides the WMI Provider for Server Events. This feature lets you use Windows Management Instrumentation (WMI) to monitor events in an instance of SQL Server.

In This Section

Topic Description

Understanding the WMI Provider for Server Events

Provides an overview of the provider architecture and how SQL Server Agent can be programmed to work with it.

Working with the WMI Provider for Server Events

Explains the factors that you need to consider before programming with the provider.

Using WQL with the WMI Provider for Server Events

Explains the WMI Query Language (WQL) syntax and how to use it when you program against the provider.

Sample: Creating a SQL Server Agent Alert by Using the WMI Provider for Server Events

Provides an example of using the WMI Provider to return trace event information on which to create a SQL Server Agent alert.

Sample: Use the WMI Event Provider with the .NET Framework

Provides an example of using the WMI Provider to return event data in a C# application.

WMI Provider for Server Events Classes and Properties

Introduces the event classes and properties that make up the programming mode of the provider.