AFAnalysis.AutoCreated Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property indicates if this analysis was automatically created by the server.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool AutoCreated { get; }
Public ReadOnly Property AutoCreated As Boolean Get Dim instance As AFAnalysis Dim value As Boolean value = instance.AutoCreated
public: virtual property bool AutoCreated { bool get () sealed; }
abstract AutoCreated : bool with get override AutoCreated : bool with get
Property Value
Type: BooleanReturns if this analysis was automatically created by the server.
Remarks
An AFAnalysis will be automatically created by the server when an AFElementTemplate is used to create a new AFBaseElement that is the Target of an AFAnalysisTemplate. This property indicates if the analysis was automatically created.
If the analysis is automatically created by the server, then its Name will be defined by the Template and cannot be modified.