The MonitoringModeis an enumeration that specifies whether sampling and reporting are enabled or disabled for a MonitoredItem. The value of the publishing enabled parameter for a Subscriptiondoes not affect the value of the monitoring mode for a MonitoredItemof the Subscription. The values of this parameter are defined in Table 152.
Table 152– MonitoringMode values
Name |
Value |
Description |
DISABLED |
0 |
The item being monitored is not sampled or evaluated, and Notificationsare not generated or queued. Notificationreporting is disabled. |
SAMPLING |
1 |
The item being monitored is sampled and evaluated, and Notificationsare generated and queued. Notificationreporting is disabled. |
REPORTING |
2 |
The item being monitored is sampled and evaluated, and Notificationsare generated and queued. Notificationreporting is enabled. |