WMI Provider for Server Events concepts
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.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho