AFNotificationRuleTemplate.CreateEnabled Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This property indicates whether any AFNotificationRule created
from this template will have the initial Status
property set to Enabled or Disabled.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public bool CreateEnabled { get; set; }
Public Property CreateEnabled As Boolean Get Set Dim instance As AFNotificationRuleTemplate Dim value As Boolean value = instance.CreateEnabled instance.CreateEnabled = value
public: property bool CreateEnabled { bool get (); void set (bool value); }
member CreateEnabled : bool with get, set
Property Value
Type: BooleanReturns if the initial value for the Status property any AFNotificationRule created from this template will be Enabled. Returns if the initial value will be Disabled. The default value is .
Remarks
When an AFNotificationRule is created from this template, its Status property will be set based upon this setting. If this property is changed in the template, it will not change the value the Status property of any existing analyses.