Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a cache connection created previously using IOleCache::Cache.
Syntax
HRESULT Uncache(
[in] DWORD dwConnection
);
Parameters
[in] dwConnection
The cache connection to be removed. This nonzero value was returned by IOleCache::Cache when the cache was originally established.
Return value
This method returns S_OK on success. Other possible return values include the following.
| Return code | Description |
|---|---|
|
No cache connection exists for dwConnection. |
Remarks
The IOleCache::Uncache method removes a cache connection that was created in a prior call to IOleCache::Cache. It uses the dwConnection parameter that was returned by the prior call to IOleCache::Cache.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | oleidl.h |