다음을 통해 공유


WmiEventWatcherTask Class

Contains the members used to configure and run a WMI Event Watcher 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.WmiEventWatcherTask
어셈블리: Microsoft.SqlServer.WMIEWTask (in microsoft.sqlserver.wmiewtask.dll)

구문

‘선언
<GuidAttribute("36CA769C-EDAA-41d7-9FCA-E0789DC8E858")> _
Public NotInheritable Class WmiEventWatcherTask
    Inherits Task
    Implements IWmiEventWatcherTask, IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist
[GuidAttribute("36CA769C-EDAA-41d7-9FCA-E0789DC8E858")] 
public sealed class WmiEventWatcherTask : Task, IWmiEventWatcherTask, IDTSBreakpointSite, IDTSSuspend, 
    IDTSComponentPersist
[GuidAttribute(L"36CA769C-EDAA-41d7-9FCA-E0789DC8E858")] 
public ref class WmiEventWatcherTask sealed : public Task, IWmiEventWatcherTask, IDTSBreakpointSite, IDTSSuspend, 
    IDTSComponentPersist
/** @attribute GuidAttribute("36CA769C-EDAA-41d7-9FCA-E0789DC8E858") */ 
public final class WmiEventWatcherTask extends Task implements IWmiEventWatcherTask, IDTSBreakpointSite, 
    IDTSSuspend, IDTSComponentPersist
GuidAttribute("36CA769C-EDAA-41d7-9FCA-E0789DC8E858") 
public final class WmiEventWatcherTask extends Task implements IWmiEventWatcherTask, 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 wait for events associated with the query to occur. The task then provides notification as to whether a WMI event occurred. The WQL query can 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.WmiEventWatcherTask.WmiEventWatcherTask

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

WmiEventWatcherTask Members
Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace