Share via


IWmiDataReaderTask.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 task.

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

Syntax

'Declaration
Property WmiConnection As String 
    Get 
    Set
'Usage
Dim instance As IWmiDataReaderTask 
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 task.

See Also

Reference

IWmiDataReaderTask Interface

Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask Namespace