PISystem.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 any system-level object since loaded.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Refresh()
Public Sub Refresh Dim instance As PISystem instance.Refresh()
public: void Refresh()
member Refresh : unit -> unit
Events
| Event Type | Reason |
|---|---|
| PISystemChanged | This event will be raised for each change detected that was made by another application that is external to the current instance of the SDK. |
Remarks
Any system-level objects that were previously loaded on this PISystem will be updated
with any changes that have been saved to the server. This includes AFContact,
AFNotificationContactTemplate, UOMDatabase, AFDatabase, etc.
| This method does nothing if not connected to the server. |