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

AF SDK Reference

AFNotificationTemplate.AutoCreate Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationTemplate.AutoCreate Property
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: AFNotificationTemplateAutoCreateOption
The 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.
Important note Important
This option will only be used when creating a new AFElement from an AFElementTemplate.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in