Microsoft.SqlServer.WMIDRTask 命名空间包含用于“WMI 数据读取器任务”的接口和类,WMI 数据读取器任务使用 Windows Management Instrumentation (WMI) 返回有关计算机系统的信息。有关“WMI 数据读取器任务”的详细信息,请参阅 WMI Data Reader Task。 确定在 类的 属性中指定的目标的类型。 属性包含接收 的结果的文件连接的名称。 属性包含接收 的结果的字符串或对象变量的名称。 确定 类返回的输出的类型。 输出作为 返回。 输出作为包含指定属性的名称和值的字符串返回。 输出作为包含指定属性的值的字符串返回。 确定 类如何将数据写入到在 中指定的目标。 该任务将其结果追加到指定的目标处的现有数据。 如果数据在指定的目标中已存在,将会出错。 该任务将覆盖指定的目标处的现有数据。 确定 的源类型,它提供要由 类执行的 Windows Management Instrumentation 查询语言 (WQL) 查询。 包含 WQL 查询。 包含要从其检索 WQL 查询的文件连接的名称。 包含要从其检索 WQL 查询的变量的名称。 包含用于配置和运行 WMI 数据读取器任务的成员,WMI 数据读取器任务运行 Windows Management Instrumentation (WMI) 查询并返回有关计算机系统的 WMI 数据。无法继承此类。 初始化 类的新实例。 引用传递到 任务。此方法由运行时调用,在代码中未使用。 The reference to be passed. 运行任务。 A indicating the outcome of the execution. A collection for the task. A collection for the task. A reference to an object that implements to raise 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 XmlDocument that contains the XML element that represents the task. An object that implements . 指示可执行文件需要挂起。运行时引擎调用此方法。 验证该任务已正确配置。 A value 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. 一个布尔值,该值指示 是否应检查断点启用与否。 true if the task should check for enabled breakpoints; otherwise, false. 获取或设置 的目标的名称。 A String that contains the name of the destination. 获取或设置一个 值,该值指示 使用的目标的类型,例如文件或变量。 A value. The default is . 获取一个对象,它包含 任务的结果。 An Object that contains the results of the task. 获取或设置一个对象,它包含 任务的结果。 An Object that contains the results of the task. 获取或设置一个 值,该值指示 返回的输出的类型,例如 或字符串。 A value. The default is . 获取或设置一个 值,该值确定 应如何处理由 属性指定的目标中的现有数据。 A value. The default is . 获取或设置一个布尔值,该值指示在遇到断点时任务是否应挂起。遇到断点时,将由任务和容器的运行时引擎设置此值。 true if the task suspends when it encounters a breakpoint. 获取或设置 任务使用的 的名称。 The name of the 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 .