AFDataPipe.GetUpdateEvents Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Get the list of data change events from the server
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFListResults<AFAttribute, AFDataPipeEvent> GetUpdateEvents()
Public Function GetUpdateEvents As AFListResults(Of AFAttribute, AFDataPipeEvent) Dim instance As AFDataPipe Dim returnValue As AFListResults(Of AFAttribute, AFDataPipeEvent) returnValue = instance.GetUpdateEvents()
public: AFListResults<AFAttribute^, AFDataPipeEvent^>^ GetUpdateEvents()
member GetUpdateEvents : unit -> AFListResults<AFAttribute, AFDataPipeEvent>
Return Value
Type: AFListResultsAFAttribute, AFDataPipeEventAn AFListResultsTKey, TResult instance containing a list of AFDataPipeEvent objects and any errors that occurred associated with their corresponding PIServer that the error occurred on.
Remarks
This method could throw InvalidOperationException if there are IObservers registered with the data pipe.
Use the GetObserverEvents method to trigger event retrieval if IObserver is registered with the data pipe.