语言

WmiEventWatcherTask.WmiConnection 属性

定义

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

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 管理仪器(WMI)连接任务到服务器所需的信息。 该属性中指定的服务器是执行所引用WqlQuerySource的 Windows 管理仪器查询语言(WQL)查询的实例。

适用于