Sets the flag which indicates whether event are being monitored for the instance and its children.
            
            
            
            
 Syntax
Syntax
| Visual Basic (Usage) |  Copy Code | 
|---|
| Dim instance As NodeState
Dim context As ISystemContext
Dim areEventsMonitored As Boolean
Dim includeChildren As Boolean
 
instance.SetAreEventsMonitored(context, areEventsMonitored, includeChildren)
 | 
Parameters
- context
- The system context.
- areEventsMonitored
- True if monitoring is active.
- includeChildren
- Whether to recursively set the flag on any children.
 Requirements
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 See Also
See Also