Assembly: Microsoft.SqlServer.WMIEWTask (in microsoft.sqlserver.wmiewtask.dll)
[GuidAttribute("36CA769C-EDAA-41d7-9FCA-E0789DC8E858")] public sealed class WmiEventWatcherTask : Task, IWmiEventWatcherTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
/** @attribute GuidAttribute("36CA769C-EDAA-41d7-9FCA-E0789DC8E858") */ public final class WmiEventWatcherTask extends Task implements IWmiEventWatcherTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
The class uses a WMIConn connection to connect to a server, execute a Windows Management Instrumentation Query Language (WQL) query against it, and wait for events associated with the query to occur. The task then provides notification as to whether a WMI event occurred. The WQL query can be provided directly, or a variable or file connection can be used to dynamically provide WQL queries at execution time.
Similarly, this class can use either a file connection or variable to receive the results of the WQL query. The output type of the WQL query results can also be specified.
For more information about the features of this task, see WMI Event Watcher Task.