AFNotificationRule.Template Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This property returns the AFNotificationRuleTemplate
that was used to create this AFNotificationRule.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFNotificationRuleTemplate Template { get; set; }
Public Property Template As AFNotificationRuleTemplate Get Set Dim instance As AFNotificationRule Dim value As AFNotificationRuleTemplate value = instance.Template instance.Template = value
public: property AFNotificationRuleTemplate^ Template { AFNotificationRuleTemplate^ get (); void set (AFNotificationRuleTemplate^ value); }
member Template : AFNotificationRuleTemplate with get, set
Property Value
Type: AFNotificationRuleTemplateReturns the AFNotificationRuleTemplate that was used to create this AFNotificationRule. If the AFNotificationRule was not created from a template, then is returned.
Remarks
If the notification rule cannot load the associated template or it was not created from
a template, then this property will return .