AFNotificationContactTemplateSearch Constructor (PISystem, String, String)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Creates an instance of an AFNotificationRuleSearch to search
for AFNotificationRule objects using the specified search query
string.
Namespace: OSIsoft.AF.Search
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNotificationContactTemplateSearch( PISystem system, string name, string query )
Public Sub New ( system As PISystem, name As String, query As String ) Dim system As PISystem Dim name As String Dim query As String Dim instance As New AFNotificationContactTemplateSearch(system, name, query)
public: AFNotificationContactTemplateSearch( PISystem^ system, String^ name, String^ query )
new : system : PISystem * name : string * query : string -> 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. - query
- Type: SystemString
The search query string. This will be parsed into tokens and initialize the TokenCollection property. Strings will be interpreted with the Parse(String, AFTime, IFormatProvider) method so that relative formats with intervals ("*", "T+3h", etc.) are also supported. Relative time intervals are based on the database's QueryDate.