PISystem.Refresh Method (Boolean)
- 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 and optionally
database-level objects since loaded.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Refresh( bool refreshDatabases )
Public Sub Refresh ( refreshDatabases As Boolean ) Dim instance As PISystem Dim refreshDatabases As Boolean instance.Refresh(refreshDatabases)
public: void Refresh( bool refreshDatabases )
member Refresh : refreshDatabases : bool -> unit
Parameters
- refreshDatabases
- Type: SystemBoolean
If set to , then database-level objects will also be updated. If set to , then only system-level objects will be updated.
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
| This call might use a background task to complete some of its work. See the Threading Overview for some matters to consider when execution transitions to another thread. |