Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAnalysis.GetLastCase Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysis.GetLastCase Method
Use this method to get the case with the latest start time for the analysis.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFCase GetLastCase()
Public Function GetLastCase As AFCase

Dim instance As AFAnalysis
Dim returnValue As AFCase

returnValue = instance.GetLastCase()
public:
AFCase^ GetLastCase()
member GetLastCase : unit -> AFCase 

Return Value

Type: AFCase
Returns the AFCase object with the latest start time for the analysis.

Remarks

The analysis must be saved to the server before calling this method.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in