AFNotificationRuleSubscriber.FindNotificationRuleSubscriber Method (AFNotificationRule, Guid)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves the AFNotificationRuleSubscriber object with the specified unique identifier within
the AFNotificationRule.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNotificationRuleSubscriber FindNotificationRuleSubscriber( AFNotificationRule notificationRule, Guid id )
Public Shared Function FindNotificationRuleSubscriber ( notificationRule As AFNotificationRule, id As Guid ) As AFNotificationRuleSubscriber Dim notificationRule As AFNotificationRule Dim id As Guid Dim returnValue As AFNotificationRuleSubscriber returnValue = AFNotificationRuleSubscriber.FindNotificationRuleSubscriber(notificationRule, id)
public: static AFNotificationRuleSubscriber^ FindNotificationRuleSubscriber( AFNotificationRule^ notificationRule, Guid id )
static member FindNotificationRuleSubscriber : notificationRule : AFNotificationRule * id : Guid -> AFNotificationRuleSubscriber
Parameters
- notificationRule
- Type: OSIsoft.AF.NotificationAFNotificationRule
The AFNotificationRule to search for the AFNotificationRuleSubscriber identified by the specified id parameter. - id
- Type: SystemGuid
The unique identifier of the AFNotificationRuleSubscriber to search for in the specified notificationRule.
Return Value
Type: AFNotificationRuleSubscriberReturns the AFNotificationRuleSubscriber identified by the id in the specified notificationRule.
Remarks
The AFNotificationRuleSubscriber of the specified notificationRule is returned.