AFAuditTrail.GetPrevious Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: DataTableReturns 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.