AFEventFrame.Analysis Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFAnalysis Analysis { get; set; }
Public Property Analysis As AFAnalysis Get Set Dim instance As AFEventFrame Dim value As AFAnalysis value = instance.Analysis instance.Analysis = value
public: property AFAnalysis^ Analysis { AFAnalysis^ get (); void set (AFAnalysis^ value); }
member Analysis : AFAnalysis with get, set
Property Value
Type: AFAnalysisReturns the AFAnalysis which created this object.
Remarks
The FindEventFramesByAnalysis Overload method can be used to find the AFEventFrame objects that have this property set to the specified AFAnalysis. The value of this property is automatically set when using the one of the following constructors: AFEventFrame(AFDatabase, String, AFElementTemplate, AFAnalysis, Boolean), AFTransfer(AFDatabase, String, AFElementTemplate, AFAnalysis, Boolean), or any of the AFCase Overload.
This property can only be set once for a new AFEventFrame or AFTransfer that has not been saved to the server. Once it has been set or saved to the server, this property cannot be modified. If this property is set for a temporary AFEventFrame or AFTransfer, then its IsTemporary flag will be cleared and it will no longer be a temporary object. The PrimaryReferencedElement will be set to the Target of the specified analysis.