WmiEventWatcherTask.WqlQuerySource 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置要由 WmiEventWatcherTask 执行的 Windows Management Instrumentation 查询语言 (WQL) 查询的源。
public:
property System::String ^ WqlQuerySource { System::String ^ get(); void set(System::String ^ value); };
public string WqlQuerySource { get; set; }
member this.WqlQuerySource : string with get, set
Public Property WqlQuerySource As String
属性值
包含 WQL 查询源的字符串。
实现
注解
此属性的值取决于属性的值 WqlQuerySourceType 。 WqlQuerySourceType如果该属性设置为DirectInput,则此属性包含任务要执行的 WQL 查询。 否则,此属性包含文件连接或变量的名称,该名称提供此任务要执行的 WQL 查询。
有关支持 WqlQuerySource的值的详细信息,请参阅 QuerySourceType。