ScopesManager.EnsureFresh Method
Refreshes the Search scope compilation information if the information is stale.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Sub EnsureFresh
'Usage
Me.EnsureFresh()
protected void EnsureFresh()
Remarks
If the isPopulated field is false, this method calls the Populate() method to reset the Search scope compilation information to its default global values; otherwise, if the time since the last compile time is longer than the defined guaranteed fresh interval, this method calls the Refresh() method to reset the volatile Search scope compilation information. The minimum fresh interval is 2 seconds.