AFTable.Refresh Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Refreshes the client with any changes that have been made to the table since loaded.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Refresh()
Public Sub Refresh Dim instance As AFTable instance.Refresh()
public: virtual void Refresh() sealed
abstract Refresh : unit -> unit override Refresh : unit -> unit
Implements
IAFTransactableRefresh
Remarks
Any changes to the table's configuration or the table's data will be updated when this method is called. This method can be used to manually force the cached table data to be updated. The CacheInterval property can be set to have the table's data automatically update when accessed when the cache interval has been exceeded.
Changes to externally linked tables cannot be detected by the SDK. Therefore, the table's data must be refreshed in order to update the cached data for the table. Changes to internal tables can be detected and will also be updated when one of the Refresh Overload methods is called.