Share via


WMI Event Watcher Task Editor (WMI Options Page)

Use the WMI Options page of the WMI Event Watcher Task Editor dialog box to specify the source of the Windows Management Instrumentation Query Language (WQL) query and how the WMI Event Watcher task responds to Microsoft Windows Instrumentation (WMI) events.

To learn about this task, see WMI Event Watcher Task. For more information about WMI Query Language (WQL), see the Windows Management Instrumentation topic, "Querying with WQL," in the MSDN Library.

Static Options

  • WQLQuerySourceType
    Select the source type of the WQL query that the task runs. This property has the options listed in the following table.

    Value Description

    Direct input

    Set the source to a WQL query. Selecting this value displays the dynamic option, WQLQuerySource.

    File connection

    Select a file that contains the WQL query. Selecting this value displays the dynamic option, WQLQuerySource.

    Variable

    Set the source to a variable that defines WQL query. Selecting this value displays the dynamic option, WQLQuerySource.

  • ActionAtEvent
    Specify whether the WMI event logs the event and initiates an SSIS action, or only logs the event.
  • AfterEvent
    Specify whether the task succeeds or fails after it receives the WMI event, or if the task continues watching for the event to occur again.
  • ActionAtTimeout
    Specify whether the task logs a WMI query time-out and initiates an SSIS event in response, or only logs the time-out.
  • AfterTimeout
    Specify whether the task succeeds or fails in response to a time-out, or if the task continues watching for another time-out to recur.
  • NumberOfEvents
    Specify the number of events to watch for.
  • Timeout
    Specify the number of seconds to wait for the event to occur. A value of 0 means that no time-out is in effect.

WQLQuerySource Dynamic Options

WQLQuerySource = Direct input

  • WQLQuerySource
    Provide a query, or click the ellipsis button (…) and enter a query using the WQL Query dialog box.

WQLQuerySource = File connection

WQLQuerySource = Variable

See Also

Reference

WMI Event Watcher Task Editor (General Page)
Expressions Page

Other Resources

Integration Services Error and Message Reference
WMI Data Reader Task

Help and Information

Getting SQL Server 2005 Assistance