WmiDataReaderTask.WqlQuerySource Property


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

Namespace:   Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask
Assembly:  Microsoft.SqlServer.WMIDRTask (in Microsoft.SqlServer.WMIDRTask.dll)

public string WqlQuerySource { get; set; }

Property Value

Type: System.String

A String containing the source of the WQL query.

The value of this property depends on the value of the P:Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask.WmiDataReaderTask.WQLQuerySourceType property. If the P:Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask.WmiDataReaderTask.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 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.

Return to top