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

AF SDK Reference

AFDatabase.Refresh Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDatabase.Refresh Method
Refreshes the client with any changes that have been made to the database since loaded without discarding unapplied changes.

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 AFDatabase

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

Events

Event TypeReason
AFDatabaseChanged This event will be raised for each change detected that was made by another application that is external to the current instance of the SDK.

Remarks

Any objects within the database that were previously loaded will be updated with any changes that have been saved to the server. If an object has unapplied changes, then it will not be updated since it cannot be determined which change is newer.

Examples

See Event Example for an example of using this method to generate events when a change has been made to the database by an external application.

Version Information

AFSDK


See Also

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