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

AF SDK Reference

AFNotificationRuleSubscriber.FindNotificationRuleSubscriber Method (AFNotificationRuleTemplate, Guid, Guid)

AFNotificationRuleSubscriber.FindNotificationRuleSubscriber Method (AFNotificationRuleTemplate, Guid, Guid)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationRuleSubscriber.FindNotificationRuleSubscriber Method (AFNotificationRuleTemplate, Guid, Guid)
Retrieves the AFNotificationRuleSubscriber object with the specified unique identifier and parent 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,
	Guid parentID
)
Public Shared Function FindNotificationRuleSubscriber ( 
	template As AFNotificationRuleTemplate,
	id As Guid,
	parentID As Guid
) As AFNotificationRuleSubscriber

Dim template As AFNotificationRuleTemplate
Dim id As Guid
Dim parentID As Guid
Dim returnValue As AFNotificationRuleSubscriber

returnValue = AFNotificationRuleSubscriber.FindNotificationRuleSubscriber(template, 
	id, parentID)
public:
static AFNotificationRuleSubscriber^ FindNotificationRuleSubscriber(
	AFNotificationRuleTemplate^ template, 
	Guid id, 
	Guid parentID
)
static member FindNotificationRuleSubscriber : 
        template : AFNotificationRuleTemplate * 
        id : Guid * 
        parentID : 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.
parentID
Type: SystemGuid
The unique identifier of the parent AFNotificationRuleSubscriber of the AFNotificationRuleSubscriber identified by the id parameter. If the AFNotificationRuleSubscriber is not owned by another AFNotificationRuleSubscriber (i.e. owned by the AFNotificationRuleTemplate), then the value of this parameter should be Guid.Empty.

Return Value

Type: AFNotificationRuleSubscriber
Returns the AFNotificationRuleSubscriber identified by the id in the specified template.

Remarks

The AFNotificationRuleSubscriber of the specified template is returned. This method is more efficient if the parent unique identifier is also known.

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