Share via


WmiEventWatcherTask.NumberOfEvents Property

Definition

Gets or sets the number of Windows Management Instrumentation (WMI) events for which the WmiEventWatcherTask should watch.

public:
 property int NumberOfEvents { int get(); void set(int value); };
public int NumberOfEvents { get; set; }
member this.NumberOfEvents : int with get, set
Public Property NumberOfEvents As Integer

Property Value

An Integer containing the number of WMI events for which the task should watch. The default value is 1.

Implements

Applies to