AFNotificationContactTemplateSearch Constructor (PISystem, String, IList(AFSearchTokenBase))
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Creates an instance of an AFNotificationContactTemplateSearch to search
for AFNotificationContactTemplate objects using the specified list of
search tokens.
Namespace: OSIsoft.AF.Search
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNotificationContactTemplateSearch( PISystem system, string name, IList<AFSearchTokenBase> tokens )
Public Sub New ( system As PISystem, name As String, tokens As IList(Of AFSearchTokenBase) ) Dim system As PISystem Dim name As String Dim tokens As IList(Of AFSearchTokenBase) Dim instance As New AFNotificationContactTemplateSearch(system, name, tokens)
public: AFNotificationContactTemplateSearch( PISystem^ system, String^ name, IList<AFSearchTokenBase^>^ tokens )
new : system : PISystem * name : string * tokens : IList<AFSearchTokenBase> -> AFNotificationContactTemplateSearch
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem to be searched by the query. This parameter will initialize the PISystem property. - name
- Type: SystemString
The SearchName associated with the created search object. This is only informational and does not affect the searches. - tokens
- Type: System.Collections.GenericIListAFSearchTokenBase
The list of tokens to initialize the TokenCollection property for the new object and will be used when calling search method. A query string can be converted to a list of tokens by calling the ParseQueryString(String) method.