Microsoft.SqlServer.WMIEWTask The 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 Event Watcher Task. Determines the action taken by the when the task receives the specified Windows Management Instrumentation (WMI) event. Logs the event notification and the status specified in to the specified log. Raises a custom DTS event indicating that the WMI event occurred and providing any information associated with the WMI event in Managed Object Format (MOF), and then logs the event notification and the status specified in to the specified log. Determines how the responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event. Logs the timeout and the status specified in to the specified log. Raises a custom DTS event indicating that the WMI event timed out, and then logs the timeout and the status specified in to the specified log. Determines how the responds when the task receives the specified Windows Management Instrumentation (WMI) event. Logs that the user chose to treat the event notification as a failure, and stops waiting for the logged event. This is the default value. Logs that the user chose to treat the event notification as a success, and stops waiting for the logged event. Logs that the user chose to continue waiting for the event. Determines how the responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event. Logs that the user chose to treat the timeout as a failure, and stops waiting for the logged event. This is the default value. Logs that the user chose to treat the timeout as a success, and stops waiting for the logged event. Logs that the user chose to continue waiting for the event. Determines the source type of the property, which provides the Windows Management Instrumentation Query Language (WQL) query to be executed by the class. contains the WQL query. contains the name of a file connection from which to retrieve the WQL query. contains the name of a variable from which to retrieve the WQL query. 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. Initializes a new instance of the class. Passes a reference to the task. This method is called by the runtime and is not used in code. The reference to be passed. Runs the task. A that indicates the outcome of the execution. A collection for the task. A collection for the task. A reference to an object that implements the interface for raising events. A reference to an object that implements . The transaction object that the task is part of, depending on the value found in the TransactionOption property. This value can be set to a null reference (Nothing in Visual Basic). Initializes the properties associated with the task. This method is called by the runtime and is not used in code. A collection for the task. A object for locking variables. An object that implements the interface for receiving events. An object that implements the interface for logging events. A object. A object. An object. This method is not callable by your application code. To load a package saved as .xml, use the method. The XML element that contains the information to load. An object that implements . Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. This method is not callable by your application code. To save a package as .xml, use the method. The XML document that contains the XML element representing the task. An object that implements . Indicates that the executable needs to suspend. This method is called by the runtime engine. Verifies that the task is properly configured. A value from the that indicates the outcome of the validation. A collection for the task. A object for locking variables. An object that implements the interface for receiving events. An object that implements the interface for logging events. Determines how the responds when the task receives a Windows Management Instrumentation (WMI) event. A value. The default value is . Determines how the responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event. A value. The default value is . Determines how the responds when the task receives the specified Windows Management Instrumentation (WMI) event. A value. The default value is . Determines how the responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event. A value. The default value is . A Boolean indicating whether should check if breakpoints are enabled. true if the task should check for enabled breakpoints; otherwise, false. Gets an Object that contains the results of the task. An Object that contains the results of the task. Gets or sets the number of Windows Management Instrumentation (WMI) events for which the should watch. An Integer containing the number of WMI events for which the task should watch. The default value is 1. Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered. true if the task suspends when it encounters a breakpoint. Gets or sets the number of seconds the task should wait to receive a Windows Management Instrumentation (WMI) event before timing out. An Integer containing the number of seconds the task should wait to receive a WMI event before timing out. If set to zero (0), the task waits indefinitely. The default value is zero (0). Gets or sets the name of the class used by the task. The name of the class associated with the task. Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the . A String containing the source of the WQL query. Gets or sets a value that indicates the source type, such as file connection or a variable, of the Windows Management Instrumentation Query Language (WQL) query to be executed by the . A value. The default is .