PIServers.Refresh Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Refresh the list of known PI Data Archive servers on the local machine,
where the cached collections of connected servers will be refreshed.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Refresh()
Public Sub Refresh Dim instance As PIServers instance.Refresh()
public: void Refresh()
member Refresh : unit -> unit
Remarks
If changes are being made too quickly to the list of known PI Data Archive servers, 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 one of the PISystems.Refresh Overload methods will also refresh this collection of PIServer objects.
| 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. |