Partilhar via


Propriedade do RDL WmiDataReaderTask.WmiConnection

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

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

Sintaxe

'Declaração
Public Property WmiConnection As String 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Implementa

IWmiDataReaderTask.WmiConnection

Comentários

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.

Consulte também

Referência

WmiDataReaderTask Classe

Namespace Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask