IOfflineFilesTransparentCacheInfo::IsTransparentlyCached method (cscobj.h)

Determines whether the item is transparently cached.

Syntax

HRESULT IsTransparentlyCached(
  [out] BOOL *pbTransparentlyCached
);

Parameters

[out] pbTransparentlyCached

A pointer to a variable that receives TRUE if the item is transparently cached, or FALSE otherwise.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

A transparently cached item is cached locally. However, it can be accessed only when the server is available and the user is online with respect to that server. If the cached version of the file matches the correct version of the file on the server, requests to read data will be satisfied from the cache rather than requesting the data from the server.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header cscobj.h
DLL CscSvc.dll; CscObj.dll

See also

IOfflineFilesEvents3::TransparentCacheItemNotify

IOfflineFilesTransparentCacheInfo