Opc.Ua.Core
SetAreEventsMonitored Method



Opc.Ua Namespace > NodeState Class : SetAreEventsMonitored Method
The system context.
True if monitoring is active.
Whether to recursively set the flag on any children.
Sets the flag which indicates whether event are being monitored for the instance and its children.
Syntax
'Declaration
 
Public Sub SetAreEventsMonitored( _
   ByVal context As ISystemContext, _
   ByVal areEventsMonitored As Boolean, _
   ByVal includeChildren As Boolean _
) 
'Usage
 
Dim instance As NodeState
Dim context As ISystemContext
Dim areEventsMonitored As Boolean
Dim includeChildren As Boolean
 
instance.SetAreEventsMonitored(context, areEventsMonitored, includeChildren)
public void SetAreEventsMonitored( 
   ISystemContext context,
   bool areEventsMonitored,
   bool includeChildren
)
public:
void SetAreEventsMonitored( 
   ISystemContext^ context,
   bool areEventsMonitored,
   bool includeChildren
) 

Parameters

context
The system context.
areEventsMonitored
True if monitoring is active.
includeChildren
Whether to recursively set the flag on any children.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NodeState Class
NodeState Members