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

AF SDK Reference

AFNotificationRuleTemplate.FindNotificationRuleTemplate Method (PISystem, Guid, Object)

AFNotificationRuleTemplate.FindNotificationRuleTemplate Method (PISystem, Guid, Object)

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFNotificationRuleTemplate.FindNotificationRuleTemplate Method (PISystem, Guid, Object)
Retrieves the AFNotificationRuleTemplate object with the specified unique identifier at the specified query date.

Namespace:  OSIsoft.AF.Notification
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFNotificationRuleTemplate FindNotificationRuleTemplate(
	PISystem system,
	Guid id,
	Object queryDate
)
Public Shared Function FindNotificationRuleTemplate ( 
	system As PISystem,
	id As Guid,
	queryDate As Object
) As AFNotificationRuleTemplate

Dim system As PISystem
Dim id As Guid
Dim queryDate As Object
Dim returnValue As AFNotificationRuleTemplate

returnValue = AFNotificationRuleTemplate.FindNotificationRuleTemplate(system, 
	id, queryDate)
public:
static AFNotificationRuleTemplate^ FindNotificationRuleTemplate(
	PISystem^ system, 
	Guid id, 
	Object^ queryDate
)
static member FindNotificationRuleTemplate : 
        system : PISystem * 
        id : Guid * 
        queryDate : Object -> AFNotificationRuleTemplate 

Parameters

system
Type: OSIsoft.AFPISystem
The PISystem to search for the desired object.
id
Type: SystemGuid
The unique identifier of the object to find.
queryDate
Type: SystemObject
The query date used to find the object. Specify or AFTime.MaxValue for most recent versions of the objects. The value may be an AFTime, DateTime, PITime, String, or numeric. A DateTime (or a DATE will be treated as UTC time if its Kind property is set to Unspecified. Because DATE values from COM or VB6 clients are marshalled as Unspecified, these client applications must convert to UTC prior to marshalling. An integer numeric represents the number of ticks (100-nanosecond intervals) since January 1, 0001. A floating point numeric represents the number of seconds since January 1, 1970 UTC. A String is interpreted as local time, unless it contains a time zone indicator such as a trailing "Z" or "GMT". Strings will be interpreted with the AFTime.Parse Overload methods so that relative formats with intervals ("*", "T+3h", etc.) are also supported. Relative time intervals are based on AFTime.Now.

Return Value

Type: AFNotificationRuleTemplate
The AFNotificationRuleTemplate in the PISystem which matches the unique identifier at the specified queryDate.

Remarks

The AFNotificationRuleTemplate object with the specified id at the specified queryDate is returned.

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, 2.9, 2.8.5, 2.8

See Also

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