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