WmiDataReaderTask.WmiConnection Property

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

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

Syntax

'Declaration
Public Property WmiConnection As String
public string WmiConnection { get; set; }
public:
virtual property String^ WmiConnection {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_WmiConnection ()

/** @property */
public final void set_WmiConnection (String value)
public final function get WmiConnection () : String

public final function set WmiConnection (value : String)

Property Value

The name of the WMIConn associated with the task.

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

WmiDataReaderTask Class
WmiDataReaderTask Members
Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask Namespace