Click or drag to resize
OSIsoft, LLC

AFSearchCacheInterval Property

The search's cached automatic refresh interval.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public TimeSpan CacheInterval { get; set; }

Property Value

Type: TimeSpan
The amount of time until the search's cached items are automatically refreshed. Specify a value of TimeSpan.Zero to disable automatic refresh of the search. The default value is TimeSpan.Zero which disables automatic refresh.
Remarks
This property controls how often the search's cached items are automatically refreshed. When the specified cache interval has expired, the cached search is automatically updated before returning the next page of results. Negative values are handled the same as a zero timespan. The Refresh method can be used to manually force the cached search to be updated.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8
See Also
Enabling Operational Intelligence