WmiEventWatcherTask.WmiConnection Property

Gets or sets the name of the WMIConn class used by the WmiEventWatcherTask task.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly:  Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)

public string WmiConnection { get; set; }

Property Value

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



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.

Community Additions