共用方式為


WmiDataReaderTask.WmiConnection 屬性

Gets or sets the name of the WMIConn used by the WmiDataReaderTask task.

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

語法

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

value = instance.WmiConnection

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

屬性值

型別:System.String
The name of the WMIConn associated with the task.

實作

IWmiDataReaderTask.WmiConnection

備註

The WMIConn class contains the information needed by Windows Management Instrumentation (WMI) to connect the task to a server, against which the Windows Management Instrumentation Query Language (WQL) query referenced in WqlQuerySource is executed.

請參閱

參考

WmiDataReaderTask 類別

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