WmiEventWatcherTask.WmiConnection 属性

定义

获取或设置 WMIConn 任务使用的 WmiEventWatcherTask 类的名称。

public:
 property System::String ^ WmiConnection { System::String ^ get(); void set(System::String ^ value); };
public string WmiConnection { get; set; }
member this.WmiConnection : string with get, set
Public Property WmiConnection As String

属性值

与任务关联的 WMIConn 类的名称。

实现

注解

WMIConn 类包含 Windows Management Instrumentation (WMI) 连接到服务器所需的信息。 此属性中指定的服务器是在其中执行 Windows Management Instrumentation 查询语言 (WQL) 查询的实例 WqlQuerySource

适用于