Share via


WmiEventWatcherTask.WmiConnection Property

Definition

Gets or sets the name of the WMIConn class used by the WmiEventWatcherTask task.

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

Property Value

The name of the WMIConn class associated with the task.

Implements

Remarks

The WMIConn class contains the information needed by Windows Management Instrumentation (WMI) to connect the task to a server. The server specified in this property is the instance against which the Windows Management Instrumentation Query Language (WQL) query referenced in WqlQuerySource is executed.

Applies to