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

AF SDK Reference

AFNotificationRuleSubscribers.Add Method (AFNotificationContactTemplate)

AFNotificationRuleSubscribers.Add Method (AFNotificationContactTemplate)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationRuleSubscribers.Add Method (AFNotificationContactTemplate)
The Add method creates a new AFNotificationRuleSubscriber from an AFNotificationContactTemplate and adds it to the collection.

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

Syntax

public AFNotificationRuleSubscriber Add(
	AFNotificationContactTemplate template
)
Public Function Add ( 
	template As AFNotificationContactTemplate
) As AFNotificationRuleSubscriber

Dim instance As AFNotificationRuleSubscribers
Dim template As AFNotificationContactTemplate
Dim returnValue As AFNotificationRuleSubscriber

returnValue = instance.Add(template)
public:
AFNotificationRuleSubscriber^ Add(
	AFNotificationContactTemplate^ template
)
member Add : 
        template : AFNotificationContactTemplate -> AFNotificationRuleSubscriber 

Parameters

template
Type: OSIsoft.AF.NotificationAFNotificationContactTemplate
The AFNotificationContactTemplate that is used to create this new AFNotificationRuleSubscriber.

Return Value

Type: AFNotificationRuleSubscriber
Returns the newly created object that was added to the collection.

Remarks

The new AFNotificationRuleSubscriber is created from an AFNotificationContactTemplate and added to the collection.

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
Related Links
TitleResults for “How to create a CRG?”Also Available in