Initializes a new instance of the WmiEventWatcherTask class.
Assembly: Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)
The code sample shows how to call the task constructor. However, in most cases, you will be creating the task as a member of a package. For more information on casting the task, see the remarks in Add.