PISystems.Refresh Method
- 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
including disconnected systems.
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 PISystems instance.Refresh()
public: void Refresh()
member Refresh : unit -> unit
Remarks
If changes are being made too quickly to the list of known systems, the collection
may not be able to keep up with the changes. This method can be called to make sure
the collection is up-to-date. Calling this method will also automatically refresh
all connected PISystem objects.
| This will also refresh the PIServers collection and remove any cached idle connections to a PISystem. |
| 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. |