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

AF SDK Reference

PIServers.Refresh Method (Boolean)

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServers.Refresh Method (Boolean)
Refresh the list of known PI Data Archive servers on the local machine with the option to refresh cached collections for connected servers.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public void Refresh(
	bool refreshConnectedPIServers
)
Public Sub Refresh ( 
	refreshConnectedPIServers As Boolean
)

Dim instance As PIServers
Dim refreshConnectedPIServers As Boolean

instance.Refresh(refreshConnectedPIServers)
public:
void Refresh(
	bool refreshConnectedPIServers
)
member Refresh : 
        refreshConnectedPIServers : bool -> unit 

Parameters

refreshConnectedPIServers
Type: SystemBoolean
If , then all PIServer objects that are connected to their server will automatically be refreshed. If , then only the collection and each PIServer's connection information will be updated.

Remarks

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

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

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