WmiEventWatcherTask Members

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.

The following tables list the members exposed by the WmiEventWatcherTask type.

Public Constructors

  Name Description
WmiEventWatcherTask Initializes a new instance of the WmiEventWatcherTask class.

Top

Public Properties

  Name Description
ms215415.pubproperty(en-US,SQL.90).gif ActionAtEvent Determines how the WmiEventWatcherTask responds when the task receives a Windows Management Instrumentation (WMI) event.
ms215415.pubproperty(en-US,SQL.90).gif ActionAtTimeout Determines how the WmiEventWatcherTask responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event.
ms215415.pubproperty(en-US,SQL.90).gif AfterEvent Determines how the WmiEventWatcherTask responds when the task receives the specified Windows Management Instrumentation (WMI) event.
ms215415.pubproperty(en-US,SQL.90).gif AfterTimeout Determines how the WmiEventWatcherTask responds when the task times out without receiving the specified Windows Management Instrumentation (WMI) event.
ms215415.pubproperty(en-US,SQL.90).gif DebugMode A Boolean indicating whether WmiEventWatcherTask should check if breakpoints are enabled.
ms215415.pubproperty(en-US,SQL.90).gif ExecutionValue Overridden. Gets an Object that contains the results of the WmiEventWatcherTask task.
ms215415.pubproperty(en-US,SQL.90).gif NumberOfEvents Gets or sets the number of Windows Management Instrumentation (WMI) events for which the WmiEventWatcherTask should watch.
ms215415.pubproperty(en-US,SQL.90).gif SuspendRequired 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.
ms215415.pubproperty(en-US,SQL.90).gif Timeout Gets or sets the number of seconds the task should wait to receive a Windows Management Instrumentation (WMI) event before timing out.
ms215415.pubproperty(en-US,SQL.90).gif Version  Returns the version of the task. This property is read-only. (inherited from Task)
ms215415.pubproperty(en-US,SQL.90).gif WaitForMe  Returns a Boolean that indicates whether the parent container should wait for completion of this task. This property is read-only. (inherited from Task)
ms215415.pubproperty(en-US,SQL.90).gif WmiConnection Gets or sets the name of the WMIConn class used by the WmiEventWatcherTask task.
ms215415.pubproperty(en-US,SQL.90).gif WqlQuerySource Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask.
ms215415.pubproperty(en-US,SQL.90).gif WqlQuerySourceType Gets or sets a QuerySourceType 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 WmiEventWatcherTask.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms215415.pubmethod(en-US,SQL.90).gif AcceptBreakpointManager Passes a BreakpointManager reference to the WmiEventWatcherTask task. This method is called by the runtime and is not used in code.
ms215415.pubmethod(en-US,SQL.90).gif CanUpdate  (inherited from Task )
ms215415.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms215415.pubmethod(en-US,SQL.90).gif Execute Overridden. Runs the task.
ms215415.pubmethod(en-US,SQL.90).gif GetConnectionID  (inherited from Task )
ms215415.pubmethod(en-US,SQL.90).gif GetConnectionName  (inherited from Task )
ms215415.pubmethod(en-US,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms215415.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms215415.pubmethod(en-US,SQL.90).gif InitializeTask Overridden. Initializes the properties associated with the WmiEventWatcherTask task. This method is called by the runtime and is not used in code.
ms215415.pubmethod(en-US,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms215415.pubmethod(en-US,SQL.90).gifms215415.static(en-US,SQL.90).gif op_Equality  (inherited from DtsObject )
ms215415.pubmethod(en-US,SQL.90).gifms215415.static(en-US,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms215415.pubmethod(en-US,SQL.90).gifms215415.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms215415.pubmethod(en-US,SQL.90).gif ResumeExecution Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
ms215415.pubmethod(en-US,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms215415.pubmethod(en-US,SQL.90).gif SuspendExecution Indicates that the executable needs to suspend. This method is called by the runtime engine.
ms215415.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
ms215415.pubmethod(en-US,SQL.90).gif Update  (inherited from Task )
ms215415.pubmethod(en-US,SQL.90).gif Validate Overridden. Verifies that the task is properly configured.

Top

Protected Methods

  Name Description
ms215415.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms215415.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

WmiEventWatcherTask Class
Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace