IOleCache::Uncache method
Removes a cache connection created previously using IOleCache::Cache.
Syntax
HRESULT Uncache(
[in] DWORD dwConnection
);
Parameters
- dwConnection [in]
-
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleCache is defined as 0000011e-0000-0000-C000-000000000046 |
See also