AFNotification.ChangeOnly Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
A flag to indicate that only change notifications should be sent for the notification.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool ChangeOnly { get; set; }
Public Property ChangeOnly As Boolean Get Set Dim instance As AFNotification Dim value As Boolean value = instance.ChangeOnly instance.ChangeOnly = value
public: property bool ChangeOnly { bool get (); void set (bool value); }
member ChangeOnly : bool with get, set
Property Value
Type: BooleanReturns if only change notifications should be sent for the notification. The default value for this property is .
Remarks
If this notification was created from an AFNotificationTemplate, then the value of
this property is defined by the template's ChangeOnly
unless it is modified to be different from the template value. If the value is defined by
a template, then changing the template's ChangeOnly
property will also change the value of this property of the AFNotification.