共用方式為


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.

命名空間: Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask
組件: Microsoft.SqlServer.WMIDRTask (in microsoft.sqlserver.wmidrtask.dll)

語法

'宣告
<GuidAttribute("31665067-4647-43d8-8638-C347E3E5A5C9")> _
Public NotInheritable Class WmiDataReaderTask
    Inherits Task
    Implements IWmiDataReaderTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[GuidAttribute("31665067-4647-43d8-8638-C347E3E5A5C9")] 
public sealed class WmiDataReaderTask : Task, IWmiDataReaderTask, IDTSBreakpointSite, IDTSSuspend, 
    IDTSComponentPersist
[GuidAttribute(L"31665067-4647-43d8-8638-C347E3E5A5C9")] 
public ref class WmiDataReaderTask sealed : public Task, IWmiDataReaderTask, IDTSBreakpointSite, IDTSSuspend, 
    IDTSComponentPersist
/** @attribute GuidAttribute("31665067-4647-43d8-8638-C347E3E5A5C9") */ 
public final class WmiDataReaderTask extends Task implements IWmiDataReaderTask, IDTSBreakpointSite, 
    IDTSSuspend, IDTSComponentPersist
GuidAttribute("31665067-4647-43d8-8638-C347E3E5A5C9") 
public final class WmiDataReaderTask extends Task implements 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 資料讀取器工作.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
     Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask.WmiDataReaderTask

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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