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

AF SDK Reference

AFNotification.FindContact Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotification.FindContact Method
Used for finding the AFNotificationContact with a given ID for the notification contact, contact definition, or its template.

Namespace:  OSIsoft.AF.Notification
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFNotificationContact FindContact(
	Guid contactID
)
Public Function FindContact ( 
	contactID As Guid
) As AFNotificationContact

Dim instance As AFNotification
Dim contactID As Guid
Dim returnValue As AFNotificationContact

returnValue = instance.FindContact(contactID)
public:
AFNotificationContact^ FindContact(
	Guid contactID
)
member FindContact : 
        contactID : Guid -> AFNotificationContact 

Parameters

contactID
Type: SystemGuid
The ID of the AFNotificationContact, the notification contact's Template, the notification contact's ContactDefinition, the contact definition's Template, or the notification contact's Contact to find.

Return Value

Type: AFNotificationContact
Returns the AFNotificationContact that matches the specified contactID. If not found, is returned.

Remarks

Searches all child notification contacts of the AFNotificationTemplate for the AFNotificationContact the matches the specified contactID.

Version Information

AFSDK


See Also

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