AFNotificationContactTemplate.FindNotificationContactTemplates Method (PISystem, Guid[])
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Performs a search within the PISystem to retrieve a collection
of AFNotificationContactTemplate objects with the specified list of unique identifiers.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNamedCollectionList<AFNotificationContactTemplate> FindNotificationContactTemplates( PISystem system, Guid[] ids )
Public Shared Function FindNotificationContactTemplates ( system As PISystem, ids As Guid() ) As AFNamedCollectionList(Of AFNotificationContactTemplate) Dim system As PISystem Dim ids As Guid() Dim returnValue As AFNamedCollectionList(Of AFNotificationContactTemplate) returnValue = AFNotificationContactTemplate.FindNotificationContactTemplates(system, ids)
public: static AFNamedCollectionList<AFNotificationContactTemplate^>^ FindNotificationContactTemplates( PISystem^ system, array<Guid>^ ids )
static member FindNotificationContactTemplates : system : PISystem * ids : Guid[] -> AFNamedCollectionList<AFNotificationContactTemplate>
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem to search for the desired objects. - ids
- Type: SystemGuid
An array of the unique identifiers of the objects to load.
Return Value
Type: AFNamedCollectionListAFNotificationContactTemplateReturns a collection of the objects in the system which match the unique identifiers in the ids list. If no object can be found for a unique identifier in the list, there will be no corresponding entry in the returned collection. The order of items in the returned collection might not match the order of specified ids, but the returned collection items can be accessed by ID.
Remarks
This method will search for matching objects based upon its ID and load its header from the server if not already loaded in the SDK. If you need a fully loaded object, then the LoadNotificationContactTemplates(PISystem, Guid) method should be used instead.