AFAnalysis.Template Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property returns the AFAnalysisTemplate
that was used to create this AFAnalysis.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAnalysisTemplate Template { get; set; }
Public Property Template As AFAnalysisTemplate Get Set Dim instance As AFAnalysis Dim value As AFAnalysisTemplate value = instance.Template instance.Template = value
public: property AFAnalysisTemplate^ Template { AFAnalysisTemplate^ get (); void set (AFAnalysisTemplate^ value); }
member Template : AFAnalysisTemplate with get, set
Property Value
Type: AFAnalysisTemplateReturns the AFAnalysisTemplate that was used to create this AFAnalysis. If the analysis was not created from a template, then is returned.
Remarks
If the analysis cannot load the associated template or it was not created from
a template, then this property will return .