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

AF SDK Reference

AFAuditTrail.GetPrevious Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAuditTrail.GetPrevious Method
Read previous page of audit trail events for the originally requested inputs. If AFAuditTrailGetFirst and GetNext has not been called, then GetPrevious will throw invalid parameter error.

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

Syntax

public DataTable GetPrevious()
Public Function GetPrevious As DataTable

Dim instance As AFAuditTrail
Dim returnValue As DataTable

returnValue = instance.GetPrevious()
public:
DataTable^ GetPrevious()
member GetPrevious : unit -> DataTable 

Return Value

Type: DataTable
Returns a DataTable with audit trail events for the previous page of results for the specified inputs.

Remarks

The AFAuditTrailGetFirst method must be called to read the first page of audit trail events, and the GetNext method must be called to walk to the next page of results before calling the GetPrevious() method.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5

See Also

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