共用方式為


IWmiEventWatcherTask 介面

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Represents a WMI Event Watcher task.

命名空間:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
組件:  Microsoft.SqlServer.WMIEWTask (在 Microsoft.SqlServer.WMIEWTask.dll 中)

語法

'宣告
Public Interface IWmiEventWatcherTask
'用途
Dim instance As IWmiEventWatcherTask
public interface IWmiEventWatcherTask
public interface class IWmiEventWatcherTask
type IWmiEventWatcherTask =  interface end
public interface IWmiEventWatcherTask

IWmiEventWatcherTask 型別公開下列成員。

屬性

  名稱 說明
公用屬性 ActionAtEvent 基礎結構。Gets or sets the IWmiEventWatcherTask responds when the task receives a WMI event.
公用屬性 ActionAtTimeout 基礎結構。Gets or sets the IWmiEventWatcherTask responds when the task times out without receiving the specified WMI event.
公用屬性 AfterEvent 基礎結構。Gets or sets the IWmiEventWatcherTask responds when the task receives the specified WMI event.
公用屬性 AfterTimeout 基礎結構。Gets or sets the IWmiEventWatcherTask responds when the task times out without receiving the specified WMI event.
公用屬性 NumberOfEvents 基礎結構。Gets or sets the number of WMI events for which the task should watch.
公用屬性 Timeout 基礎結構。Gets or sets the number of seconds the task should wait to receive a WMI event before timing out.
公用屬性 WmiConnection 基礎結構。Gets or sets the name of the WMI connection associated with the task.
公用屬性 WqlQuerySource 基礎結構。Gets or sets the source of the WQL query to be executed by the task.
公用屬性 WqlQuerySourceType 基礎結構。Gets or sets the WQL query source type.

上層

請參閱

參考

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask 命名空間