Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: 
 SQL Server
The WMI Provider for Server Events lets you use Windows Management Instrumentation (WMI) to monitor events in an instance of SQL Server.
In this section
- Understand 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. 
- Work with the WMI Provider for Server Events - Explains the factors that you need to consider before programming with the provider. 
- Use 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: Create a SQL Server Agent Alert with the WMI Provider - 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.