WmiEventWatcherTask::WqlQuerySource Property
Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiEventWatcherTask.
Assembly: Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)
public: property String^ WqlQuerySource { virtual String^ get() sealed; virtual void set(String^ value) sealed; }
Implements
IWmiEventWatcherTask::WqlQuerySourceThe value of this property depends on the value of the P:Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.WmiEventWatcherTask.WQLQuerySourceType property. If the P:Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.WmiEventWatcherTask.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 P:Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.WmiEventWatcherTask.WQLQuerySource, see QuerySourceType.