Share via


WmiDataReaderTask.WqlQuerySource Property

Definition

Gets or sets the source of the Windows Management Instrumentation Query Language (WQL) query to be executed by the WmiDataReaderTask.

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 <xref:Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask.WmiDataReaderTask.WQLQuerySourceType%2A> property. If the <xref:Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask.WmiDataReaderTask.WQLQuerySourceType%2A> 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 manager or the variable which provides the WQL query to be executed by this task.

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

Applies to