AFAuditTrail.GetNext Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Read next page of audit trail events for the originally requested inputs.
If AFAuditTrailGetFirst has not been called, then GetNext will throw invalid parameter error.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public DataTable GetNext()
Public Function GetNext As DataTable Dim instance As AFAuditTrail Dim returnValue As DataTable returnValue = instance.GetNext()
public: DataTable^ GetNext()
member GetNext : unit -> DataTable
Return Value
Type: DataTableReturns a DataTable with audit trail events for the next page of results for the specified inputs.
Remarks
The AFAuditTrailGetFirst method must be called to read the first page of audit trail events.
The AFAuditTrailGetFirst method is used to specify the parameters and the GetNext() method
is used to walk to the next set of records for the originally requested parameters.