The WMI Provider for Server Events lets you use Windows Management Instrumentation (WMI) to monitor events in an instance of SQL Server.
Provides an overview of the provider architecture and how SQL Server Agent can be programmed to work with it.
Explains the factors that you need to consider before programming with the provider.
Explains the WMI Query Language (WQL) syntax and how to use it when you program against the provider.
Provides an example of using the WMI Provider to return trace event information on which to create a SQL Server Agent alert.
Provides an example of using the WMI Provider to return event data in a C# application.
Introduces the event classes and properties that make up the programming mode of the provider.