AFNotification.SetNotificationContact Method (AFNotificationContactTemplate)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Note: This API is now obsolete.
The SetNotificationContact method sets the NotificationContact
property to a newly created AFNotificationContact using the specified
AFNotificationContactTemplate.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[BrowsableAttribute(false)] [ObsoleteAttribute("Replace with the NotificationContacts.Add method.")] public void SetNotificationContact( AFNotificationContactTemplate template )
<BrowsableAttribute(false)> <ObsoleteAttribute("Replace with the NotificationContacts.Add method.")> Public Sub SetNotificationContact ( template As AFNotificationContactTemplate ) Dim instance As AFNotification Dim template As AFNotificationContactTemplate instance.SetNotificationContact(template)
public: [BrowsableAttribute(false)] [ObsoleteAttribute(L"Replace with the NotificationContacts.Add method.")] void SetNotificationContact( AFNotificationContactTemplate^ template )
[<BrowsableAttribute(false)>] [<ObsoleteAttribute("Replace with the NotificationContacts.Add method.")>] member SetNotificationContact : template : AFNotificationContactTemplate -> unit
Parameters
- template
- Type: OSIsoft.AF.NotificationAFNotificationContactTemplate
The AFNotificationContactTemplate that is used to create this new notification contact. If , then the notification contact is removed.
Version Information
AFSDK
Obsolete (compiler warning) in 3.1.1Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6
Obsolete (compiler warning) in 2.5
Obsolete (compiler warning) in 2.4