AFNotification.ExpirationPeriod Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Expiration period for the notification.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.