语言

WmiEventWatcherTask.WqlQuerySource 属性

定义

获取或设置 Windows 管理仪表查询语言(WQL)查询的源代码,由 WmiEventWatcherTask执行。

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

适用于