AFNotificationContact.FindNotificationContact Method (AFNotification, Guid)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves the AFNotificationContact object with the specified unique identifier within
the AFNotification.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNotificationContact FindNotificationContact( AFNotification notification, Guid id )
Public Shared Function FindNotificationContact ( notification As AFNotification, id As Guid ) As AFNotificationContact Dim notification As AFNotification Dim id As Guid Dim returnValue As AFNotificationContact returnValue = AFNotificationContact.FindNotificationContact(notification, id)
public: static AFNotificationContact^ FindNotificationContact( AFNotification^ notification, Guid id )
static member FindNotificationContact : notification : AFNotification * id : Guid -> AFNotificationContact
Parameters
- notification
- Type: OSIsoft.AF.NotificationAFNotification
The AFNotification to search for the AFNotificationContact identified by the specified id parameter. - id
- Type: SystemGuid
The unique identifier of the AFNotificationContact to search for in the specified notification.
Return Value
Type: AFNotificationContactReturns the AFNotificationContact identified by the id in the specified notification.
Remarks
The AFNotificationContact of the specified notification is returned.