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

AF SDK Reference

AFAnalysisTemplate.CreateEnabled Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysisTemplate.CreateEnabled Property
This property indicates whether any AFAnalysis created from this template will have the initial Status property set to Enabled or Disabled.

Namespace:  OSIsoft.AF.Analysis
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 AFAnalysisTemplate
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: Boolean
Returns if the initial value for the Status property any AFAnalysis created from this template will be Enabled. Returns if the initial value will be Disabled. The default value is .

Remarks

When an AFAnalysis 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.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

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