EasyUA Reference
SetMonitoringMode Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Subscription Class : SetMonitoringMode Method

monitoringMode
The monitoring mode to be set for the MonitoredItems.
monitoredItems
List of Server-assigned ids for the MonitoredItems.

Glossary Item Box

This Service is used to set the monitoring mode for one or more MonitoredItems of a Subscription. Setting the mode to DISABLED causes all queued Notifications to be deleted.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Subscription
Dim monitoringMode As MonitoringMode
Dim monitoredItems As IList(Of MonitoredItem)
Dim value As List(Of ServiceResult)
 
value = instance.SetMonitoringMode(monitoringMode, monitoredItems)
C# 
public List<ServiceResult> SetMonitoringMode( 
   MonitoringMode monitoringMode,
   IList<MonitoredItem> monitoredItems
)

Parameters

monitoringMode
The monitoring mode to be set for the MonitoredItems.
monitoredItems
List of Server-assigned ids for the MonitoredItems.

Return Value

List of StatusCodes for the MonitoredItems to enable/disable. The size and order of the list matches the size and order of the monitoredItemIds request parameter.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.