Share via


WmiEventWatcherTask.WqlQuerySource Property

Definition

Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the 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

Property Value

A String containing the source of the WQL query.

Implements

Remarks

The value of this property depends on the value of the WqlQuerySourceType property. If the WqlQuerySourceType property is set to DirectInput, then this property contains the WQL query to be executed by the task. Otherwise, this property contains the name of the file connection or variable that provides the WQL query to be executed by this task.

For more information about the values supported for WqlQuerySource, see QuerySourceType.

Applies to