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

AF SDK Reference

AFNotificationContactTemplateSearch Constructor (PISystem, String, String)

AFNotificationContactTemplateSearch Constructor (PISystem, String, String)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationContactTemplateSearch Constructor (PISystem, String, String)
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.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5

See Also

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