Share via


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) で必要な情報が含まれます。 このプロパティで指定されたサーバーは、WqlQuerySource で参照される Windows Management Instrumentation Query Language (WQL) クエリが実行されるインスタンスです。

適用対象