共用方式為


WmiDataReaderTask.WqlQuerySource 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask
組件:  Microsoft.SqlServer.WMIDRTask (在 Microsoft.SqlServer.WMIDRTask.dll 中)

語法

'宣告
Public Property WqlQuerySource As String 
    Get 
    Set
'用途
Dim instance As WmiDataReaderTask 
Dim value As String 

value = instance.WqlQuerySource

instance.WqlQuerySource = value
public string WqlQuerySource { get; set; }
public:
virtual property String^ WqlQuerySource {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract WqlQuerySource : string with get, set 
override WqlQuerySource : string with get, set
final function get WqlQuerySource () : String 
final function set WqlQuerySource (value : String)

屬性值

型別:System.String
A String containing the source of the WQL query.

實作

IWmiDataReaderTask.WqlQuerySource

備註

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 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.

請參閱

參考

WmiDataReaderTask 類別

Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask 命名空間