Microsoft.SqlServer.WMIEWTask
命名空间包含用于“WMI 事件观察器任务”的接口和类,WMI 事件观察器任务使用 Windows Management Instrumentation (WMI) 返回有关在计算机系统发生的 WMI 事件的信息。有关“WMI 事件观察器任务”的详细信息,请参阅 WMI Event Watcher Task。
确定在任务接收指定的 Windows Management Instrumentation (WMI) 事件时由 采取的操作。
将在 中指定的事件通知和状态记录到指定日志。
引发一个自定义 DTS 事件,该事件指示发生了 WMI 事件并且采用托管对象格式 (MOF) 提供与 WMI 事件相关联的任何信息,然后将在 中指定的事件通知和状态记录到指定日志。
确定在任务超时且未接收指定的 Windows Management Instrumentation (WMI) 事件时 应如何响应。
将在 中指定的超时和状态记录到指定日志。
引发指示 WMI 事件超时的自定义 DTS 事件,然后将在 中指定的超时和状态记录到指定日志。
确定在任务收到指定的 Windows Management Instrumentation (WMI) 事件时 应如何响应。
记录用户选择将事件通知作为失败处理,并且停止等待记录的事件。这是默认值。
记录用户选择将事件通知作为成功处理,并且停止等待记录的事件。
记录用户选择继续等待事件。
确定在任务超时且未接收指定的 Windows Management Instrumentation (WMI) 事件时 应如何响应。
记录用户选择将超时作为失败处理,并且停止等待记录的事件。这是默认值。
记录用户选择将超时作为成功处理,并且停止等待记录的事件。
记录用户选择继续等待事件。
确定 属性的源类型,它提供要由 类执行的 Windows Management Instrumentation 查询语言 (WQL) 查询。
包含 WQL 查询。
包含要从其检索 WQL 查询的文件连接的名称。
包含要从其检索 WQL 查询的变量的名称。
包含用于配置和运行 WMI 事件观察器任务的成员,WMI 事件观察器任务运行 Windows Management Instrumentation (WMI) 查询并返回有关计算机系统的 WMI 数据。无法继承此类。
初始化 类的新实例。
将 引用传递到 任务。此方法由运行时调用,在代码中未使用。
The reference to be passed.
运行任务。
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).
初始化与 任务相关联的属性。此方法由运行时调用,在代码中未使用。
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.
此方法不能由应用程序代码调用。若要加载保存为 .xml 的包,请使用 方法。
The XML element that contains the information to load.
An object that implements .
暂停后恢复执行任务。由运行时引擎恢复任务或容器。
此方法不能由应用程序代码调用。若将包保存为 .xml,请使用 方法。
The XML document that contains the XML element representing the task.
An object that implements .
指示可执行文件需要挂起。运行时引擎调用此方法。
验证该任务已正确配置。
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.
确定在任务接收 Windows Management Instrumentation (WMI) 事件时 应如何响应。
A value. The default value is .
确定在任务超时且未接收指定的 Windows Management Instrumentation (WMI) 事件时 应如何响应。
A value. The default value is .
确定在任务收到指定的 Windows Management Instrumentation (WMI) 事件时 应如何响应。
A value. The default value is .
确定在任务超时且未接收指定的 Windows Management Instrumentation (WMI) 事件时 应如何响应。
A value. The default value is .
一个布尔值,该值指示 是否应检查断点启用与否。
true if the task should check for enabled breakpoints; otherwise, false.
获取一个对象,它包含 任务的结果。
An Object that contains the results of the task.
获取或设置 应观察的 Windows Management Instrumentation (WMI) 事件的数目。
An Integer containing the number of WMI events for which the task should watch. The default value is 1.
获取或设置一个布尔值,该值指示在遇到断点时任务是否应挂起。遇到断点时,将由任务和容器的运行时引擎设置此值。
true if the task suspends when it encounters a breakpoint.
获取或设置在任务应等待接收 Windows Management Instrumentation (WMI) 事件多少秒后才超时。
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).
获取或设置 任务使用的 类的名称。
The name of the class associated with the task.
获取或设置要由 执行的 Windows Management Instrumentation 查询语言 (WQL) 查询的源。
A String containing the source of the WQL query.
获取或设置一个 值,该值指示要由 执行的 Windows Management Instrumentation 查询语言 (WQL) 查询的源类型,例如文件连接或变量。
A value. The default is .