AFNotification.ExpirationPeriod Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Expiration period for the notification.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public TimeSpan ExpirationPeriod { get; set; }
Public Property ExpirationPeriod As TimeSpan Get Set Dim instance As AFNotification Dim value As TimeSpan value = instance.ExpirationPeriod instance.ExpirationPeriod = value
public: property TimeSpan ExpirationPeriod { TimeSpan get (); void set (TimeSpan value); }
member ExpirationPeriod : TimeSpan with get, set
Property Value
Type: TimeSpanReturns the expiration period for the notification.
Remarks
If this notification was created from an AFNotificationTemplate, then the value of
this property is defined by the template's ExpirationPeriod
unless it is modified to be different from the template value. If the value is defined by
a template, then changing the template's ExpirationPeriod
property will also change the value of this property of the AFNotification.