共用方式為


IWmiDataReaderTask.WqlQuerySource 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the source of the WQL query to be executed by the task.

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

語法

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

value = instance.WqlQuerySource

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

屬性值

型別:System.String
The source of the WQL query.

請參閱

參考

IWmiDataReaderTask 介面

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