AFNotificationRuleSubscriber.FindNotificationRuleSubscriber Method (AFNotificationRuleTemplate, 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 AFNotificationRuleTemplate.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNotificationRuleSubscriber FindNotificationRuleSubscriber( AFNotificationRuleTemplate template, Guid id )
Public Shared Function FindNotificationRuleSubscriber ( template As AFNotificationRuleTemplate, id As Guid ) As AFNotificationRuleSubscriber Dim template As AFNotificationRuleTemplate Dim id As Guid Dim returnValue As AFNotificationRuleSubscriber returnValue = AFNotificationRuleSubscriber.FindNotificationRuleSubscriber(template, id)
public: static AFNotificationRuleSubscriber^ FindNotificationRuleSubscriber( AFNotificationRuleTemplate^ template, Guid id )
static member FindNotificationRuleSubscriber : template : AFNotificationRuleTemplate * id : Guid -> AFNotificationRuleSubscriber
Parameters
- template
- Type: OSIsoft.AF.NotificationAFNotificationRuleTemplate
The AFNotificationRuleTemplate 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 template.
Return Value
Type: AFNotificationRuleSubscriberReturns the AFNotificationRuleSubscriber identified by the id in the specified template.
Remarks
The AFNotificationRuleSubscriber of the specified template is returned.