This method refreshes all of the cached data for the open repository instance. Only cached data that has not been changed by the current process is refreshed.
Call object.Refresh(milliSeconds)
The Refresh method syntax has the following parts.
Part | Description |
Object | The object that represents the workspace through which this program is interacting with the repository. |
MilliSecs | All unchanged repository data that has been in the cache for longer than millisecs milliseconds is refreshed. Set to zero to refresh all unchanged data for the repository. |
Even though you are operating within the context of a workspace, this method refreshes all of the cached data for the open repository instance – including cached data not present in the workspace.