Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PISystems.Refresh Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystems.Refresh Method
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.
Note Notes to Callers
This will also refresh the PIServers collection and remove any cached idle connections to a PISystem.

Note Notes to Callers
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.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in