Click or drag to resize
OSIsoft, LLC

AFAuditTrail Class

Provides audit trail information for the requested PISystem.
Inheritance Hierarchy
SystemObject
  OSIsoft.AF.DiagnosticsAFAuditTrail

Namespace:  OSIsoft.AF.Diagnostics
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
[SerializableAttribute]
public class AFAuditTrail

The AFAuditTrail type exposes the following members.

Constructors
  NameDescription
Public methodAFAuditTrail
Create an AFAuditTrail instance to read audit trail events for the requested PISystem.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDetails
Public methodGetFirst(AFTimeRange, Int32)
Read audit trail events from the PISystem for the requested time range up to the specified maximum count.
Public methodGetFirst(AFObject, Boolean, AFTimeRange, Int32)
Read audit trail events from the PISystem for the requested time range up to the specified maximum count.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNext
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.
Public methodGetPrevious
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
To retrieve audit trail events for the requested PISystem, call the AFAuditTrailGetFirst method and read the first page of audit trail events for the requested inputs. If there is more data for the requested inputs then call the GetNext method to read the next page of results. Continue to call the GetNext method until the originally requested endTime has been reached. The GetDetails(DataRow) method can be used to retrieve information about the before and after values for a data row in a DataTable that was returned by having called one of the audit trail read methods.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6
See Also
Enabling Operational Intelligence