AFAnalysis.FindAnalysis Method (PISystem, Guid)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves the AFAnalysis object with the specified unique identifier
at the AFTime.MaxValue query date.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFAnalysis FindAnalysis( PISystem system, Guid id )
Public Shared Function FindAnalysis ( system As PISystem, id As Guid ) As AFAnalysis Dim system As PISystem Dim id As Guid Dim returnValue As AFAnalysis returnValue = AFAnalysis.FindAnalysis(system, id)
public: static AFAnalysis^ FindAnalysis( PISystem^ system, Guid id )
static member FindAnalysis : system : PISystem * id : Guid -> AFAnalysis
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem to search for the desired object. - id
- Type: SystemGuid
The unique identifier of the object to find.
Return Value
Type: AFAnalysisThe AFAnalysis in the PISystem which matches the unique identifier.
Remarks
The AFAnalysis object with the specified id
is returned.