WmiDataReaderTask Class

Contains the members used to configure and run a WMI Data Reader task, which runs Windows Management Instrumentation (WMI) queries and returns WMI data about a computer system. This class cannot be inherited.

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

public sealed class WmiDataReaderTask : Task, 
	IWmiDataReaderTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist

The class uses a WMIConn connection to connect to a server, execute a Windows Management Instrumentation Query Language (WQL) query against it, and return the results. The WQL query can either be provided directly, or a variable or file connection can be used to dynamically provide WQL queries at execution time.

Similarly, this class can use either a file connection or variable to receive the results of the WQL query. The output type of the WQL query results can also be specified.

For more information about the features of this task, see WMI Data Reader Task.


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

Community Additions