AFNotification.SetNotificationContact Method (String)
- 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 with the specified name.
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( string name )
<BrowsableAttribute(false)> <ObsoleteAttribute("Replace with the NotificationContacts.Add method.")> Public Sub SetNotificationContact ( name As String ) Dim instance As AFNotification Dim name As String instance.SetNotificationContact(name)
public: [BrowsableAttribute(false)] [ObsoleteAttribute(L"Replace with the NotificationContacts.Add method.")] void SetNotificationContact( String^ name )
[<BrowsableAttribute(false)>] [<ObsoleteAttribute("Replace with the NotificationContacts.Add method.")>] member SetNotificationContact : name : string -> unit
Parameters
- name
- Type: SystemString
The name for the new object. If the name ends with a asterisk (*), then a unique name will be generated based on the supplied name. See the ValidateName(String, String) method for a description of what is valid when setting the name of the object.
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