Share via


IWmiEventWatcherTask.WmiConnection Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the name of the WMI connection associated with the task.

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

Syntax

'Declaration
Property WmiConnection As String 
    Get 
    Set
'Usage
Dim instance As IWmiEventWatcherTask 
Dim value As String 

value = instance.WmiConnection

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

Property Value

Type: System.String
The name of the WMI connection associated with the task.

See Also

Reference

IWmiEventWatcherTask Interface

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace