Provides proper maintenance of caches. It maintains the caches by connecting the running object's IDataObject implementation to the cache, allowing the cache to receive notifications from the running object.
The IOleCacheControl interface has these methods.
|IOleCacheControl::OnRun||Notifies the cache that the data source object has entered the running state so that the cache object can establish advise sinks as needed.|
|IOleCacheControl::OnStop||Notifies the cache that it should terminate any existing advise sinks. No indication is given as to whether a connection actually existed.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|