AFNotificationContact.Template Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property returns the AFNotificationContactTemplate
that was used to create this AFNotificationContact.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNotificationContactTemplate Template { get; }
Public ReadOnly Property Template As AFNotificationContactTemplate Get Dim instance As AFNotificationContact Dim value As AFNotificationContactTemplate value = instance.Template
public: property AFNotificationContactTemplate^ Template { AFNotificationContactTemplate^ get (); }
member Template : AFNotificationContactTemplate with get
Property Value
Type: AFNotificationContactTemplateReturns the AFNotificationContactTemplate that was used to create this AFNotificationContact. If the notification contact was not created from a template, then is returned.
Remarks
If the notification contact cannot load the associated template or it was not created from
a template, then this property will return .