AFNotificationContactTemplate.LoadNotificationContactTemplates Method (PISystem, Guid[])
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Loads the AFNotificationContactTemplate objects with the specified unique identifiers.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNamedCollectionList<AFNotificationContactTemplate> LoadNotificationContactTemplates( PISystem system, Guid[] ids )
Public Shared Function LoadNotificationContactTemplates ( 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.LoadNotificationContactTemplates(system, ids)
public: static AFNamedCollectionList<AFNotificationContactTemplate^>^ LoadNotificationContactTemplates( PISystem^ system, array<Guid>^ ids )
static member LoadNotificationContactTemplates : 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
Fully loads the AFNotificationContactTemplate objects from the server into the client with the specified ids. If the object is already loaded in memory, then it will be updated if it has been marked as needing to reload by a call to AFDatabaseRefresh. If you do not need the objects fully loaded, you can use the FindNotificationContactTemplates(PISystem, Guid) method which will only load the headers for each object.