AFNotificationRule.Template Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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 .