AFNotificationContact.FindNotificationContact Method (AFNotificationTemplate, 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 AFNotificationTemplate.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNotificationContact FindNotificationContact( AFNotificationTemplate template, Guid id )
Public Shared Function FindNotificationContact ( template As AFNotificationTemplate, id As Guid ) As AFNotificationContact Dim template As AFNotificationTemplate Dim id As Guid Dim returnValue As AFNotificationContact returnValue = AFNotificationContact.FindNotificationContact(template, id)
public: static AFNotificationContact^ FindNotificationContact( AFNotificationTemplate^ template, Guid id )
static member FindNotificationContact : template : AFNotificationTemplate * id : Guid -> AFNotificationContact
Parameters
- template
- Type: OSIsoft.AF.NotificationAFNotificationTemplate
The AFNotificationTemplate 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 template.
Return Value
Type: AFNotificationContactReturns the AFNotificationContact identified by the id in the specified template.
Remarks
The AFNotificationContact of the specified template is returned.