AFAnalysis.GetStatus Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Get the analysis Status property immediately from the PI AF Server.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFStatus GetStatus()
Public Function GetStatus As AFStatus Dim instance As AFAnalysis Dim returnValue As AFStatus returnValue = instance.GetStatus()
public: AFStatus GetStatus()
member GetStatus : unit -> AFStatus
Return Value
Type: AFStatusReturns the status read from the PI AF Server.
Remarks
Getting the analysis Status using this method gets the value from the
PI AF Server immediately and does not require the analysis to be refreshed and does not
update any other properties of the analysis. Only the Status property
will be updated.