Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFNotification.ExpirationPeriod Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotification.ExpirationPeriod Property
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: TimeSpan
Returns 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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in