此 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. |
上層
.gif)