AFNotificationTemplate.AutoCreate Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property specifies the option for automatically creating an AFNotification
for an AFElement.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNotificationTemplateAutoCreateOption AutoCreate { get; set; }
Public Property AutoCreate As AFNotificationTemplateAutoCreateOption Get Set Dim instance As AFNotificationTemplate Dim value As AFNotificationTemplateAutoCreateOption value = instance.AutoCreate instance.AutoCreate = value
public: property AFNotificationTemplateAutoCreateOption AutoCreate { AFNotificationTemplateAutoCreateOption get (); void set (AFNotificationTemplateAutoCreateOption value); }
member AutoCreate : AFNotificationTemplateAutoCreateOption with get, set
Property Value
Type: AFNotificationTemplateAutoCreateOptionThe option for automatically creating an AFNotification for an AFElement. The default value is DoNotCreate.
Remarks
If the AFElementTemplate used for creating an AFElement is the
Target of the AnalysisTemplate for an
AFNotificationTemplate, then this option is used to determine if an
AFNotification should be automatically created for the new element.
| This option will only be used when creating a new AFElement from an AFElementTemplate. |