WmiEventWatcherTask.WmiConnection Propiedad
Gets or sets the name of the WMIConn class used by the WmiEventWatcherTask task.
Espacio de nombres: Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Ensamblado: Microsoft.SqlServer.WMIEWTask (en Microsoft.SqlServer.WMIEWTask.dll)
Sintaxis
'Declaración
Public Property WmiConnection As String
Get
Set
'Uso
Dim instance As WmiEventWatcherTask
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 de la propiedad
Tipo: System.String
The name of the WMIConn class associated with the task.
Implementa
IWmiEventWatcherTask.WmiConnection
Comentarios
The WMIConn class contains the information needed by Windows Management Instrumentation (WMI) to connect the task to a server. The server specified in this property is the instance against which the Windows Management Instrumentation Query Language (WQL) query referenced in WqlQuerySource is executed.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask