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

AF SDK Reference

AFElementTemplate.GetAllNotificationRuleTemplates Method

AFElementTemplate.GetAllNotificationRuleTemplates Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFElementTemplate.GetAllNotificationRuleTemplates Method
Gets the list of AFNotificationRuleTemplate objects for this template and all base templates.

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

Syntax

public AFNamedCollectionList<AFNotificationRuleTemplate> GetAllNotificationRuleTemplates()
Public Function GetAllNotificationRuleTemplates As AFNamedCollectionList(Of AFNotificationRuleTemplate)

Dim instance As AFElementTemplate
Dim returnValue As AFNamedCollectionList(Of AFNotificationRuleTemplate)

returnValue = instance.GetAllNotificationRuleTemplates()
public:
AFNamedCollectionList<AFNotificationRuleTemplate^>^ GetAllNotificationRuleTemplates()
member GetAllNotificationRuleTemplates : unit -> AFNamedCollectionList<AFNotificationRuleTemplate> 

Return Value

Type: AFNamedCollectionListAFNotificationRuleTemplate
Returns the list of AFNotificationRuleTemplate objects for this template and all base templates.

Remarks

This is the list of AFNotificationRuleTemplate objects that would be defined for an AFBaseElement created from the template. If you want to generate a unique name for a new AFNotificationRuleTemplate, you may use the output from this method in GenerateUniqueName(String, IAFList).

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