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 (Boolean, Boolean)

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystems.Refresh Method (Boolean, Boolean)
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

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