WmiEventWatcherTask.WqlQuerySource 屬性

定義

取得或設定 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

屬性值

String

包含 WQL 查詢來源的字串。

實作

備註

這個屬性的值取決於屬性的值 WqlQuerySourceType 。 如果 WqlQuerySourceType 屬性設定為 DirectInput ,則這個屬性會包含工作要執行的 WQL 查詢。 否則,此屬性會包含可提供此工作執行之 WQL 查詢的檔案連接或變數的名稱。

如需所支援值的詳細資訊 WqlQuerySource ,請參閱 QuerySourceType

適用於