AFNotificationRule.FindNotificationRule Method (PISystem, Guid)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Retrieves the AFNotificationRule object with the specified unique identifier
at the AFTime.MaxValue query date.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public static AFNotificationRule FindNotificationRule( PISystem system, Guid id )
Public Shared Function FindNotificationRule ( system As PISystem, id As Guid ) As AFNotificationRule Dim system As PISystem Dim id As Guid Dim returnValue As AFNotificationRule returnValue = AFNotificationRule.FindNotificationRule(system, id)
public: static AFNotificationRule^ FindNotificationRule( PISystem^ system, Guid id )
static member FindNotificationRule : system : PISystem * id : Guid -> AFNotificationRule
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem to search for the desired object. - id
- Type: SystemGuid
The unique identifier of the object to find.
Return Value
Type: AFNotificationRuleThe AFNotificationRule in the PISystem which matches the unique identifier.
Remarks
The AFNotificationRule object with the specified id
is returned.