The Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask namespace contains the interfaces and classes used for the WMI Event Watcher Task, which uses Windows Management Instrumentation (WMI) to return information about WMI events that occur on a computer system. For more information about the WMI Event Watcher Task, see WMI 事件監看員工作.
類別
| 類別 | 說明 | |
|---|---|---|
![]() |
WmiEventWatcherTask | Contains the members used to configure and run a WMI Event Watcher task, which runs Windows Management Instrumentation (WMI) queries and returns WMI data about a computer system. This class cannot be inherited. |
介面
| 介面 | 說明 | |
|---|---|---|
![]() |
IWmiEventWatcherTask | 基礎結構。Represents a WMI Event Watcher task. |
列舉
| 列舉 | 說明 | |
|---|---|---|
![]() |
ActionAtEvent | Determines the action taken by the WmiEventWatcherTask when the task receives the specified Windows Management Instrumentation (WMI) event. |
![]() |
ActionAtTimeout | Determines how the WmiEventWatcherTask responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event. |
![]() |
AfterEvent | Determines how the WmiEventWatcherTask responds when the task receives the specified Windows Management Instrumentation (WMI) event. |
![]() |
AfterTimeout | Determines how the WmiEventWatcherTask responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event. |
![]() |
QuerySourceType | Determines the source type of the WqlQuerySource property, which provides the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask class. |
.gif)
.gif)
.gif)