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

AF SDK Reference

AFSearch.Refresh Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSearch.Refresh Method
Refreshes the search that is cached in the server.

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

Syntax

public void Refresh()
Public Sub Refresh

Dim instance As AFSearch

instance.Refresh()
public:
virtual void Refresh() sealed
abstract Refresh : unit -> unit 
override Refresh : unit -> unit 

Remarks

The server will cache queries to improve performance when returning multiple pages. This means that the query will not pick up any added objects until the cached query times out (based upon the CacheTimeout) or is automatically refreshed (based upon the CacheInterval). This method can be called to manually force the cached query to be updated.

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, 2.8.5, 2.8

See Also

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