PISystems.Refresh Method (Boolean, Boolean)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Refresh the collection to the list of known systems on the local machine with
the option to refresh only connected systems and/or database-level objects.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Refresh( bool refreshConnectedPISystems, bool refreshDatabases )
Public Sub Refresh ( refreshConnectedPISystems As Boolean, refreshDatabases As Boolean ) Dim instance As PISystems Dim refreshConnectedPISystems As Boolean Dim refreshDatabases As Boolean instance.Refresh(refreshConnectedPISystems, refreshDatabases)
public: void Refresh( bool refreshConnectedPISystems, bool refreshDatabases )
member Refresh : refreshConnectedPISystems : bool * refreshDatabases : bool -> unit
Parameters
- refreshConnectedPISystems
- Type: SystemBoolean
If , then all PISystem objects that are connected to their server will automatically be refreshed. If , then only the collection and each PISystem's connection information will be updated. - refreshDatabases
- Type: SystemBoolean
If refreshConnectedPISystems is , then this parameter is ignored. If set to , then database-level objects will also be updated. If set to , then only system-level objects will be updated.
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. |