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

AF SDK Reference

IAFSearch(T).Refresh Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
IAFSearch(T).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

void Refresh()
Sub Refresh

Dim instance As IAFSearch

instance.Refresh()
void Refresh()
abstract 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

See Also

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