Export (0) Print
Expand All

IOfflineFilesCache interface

Used to manage the Offline Files cache.

When to implement

This interface is implemented by Windows.

When to use

Use this interface to manage cache-wide behaviors and attributes of the Offline Files cache.

Create this object as an in-proc COM server using the class ID CLSID_OfflineFilesCache.

Through this interface you can add to and delete items from the Offline Files cache, query items in the cache, synchronize items in the cache, and encrypt the contents of the cache for enhanced data security.

Some methods are available only to system administrators.

Members

The IOfflineFilesCache interface inherits from the IUnknown interface. IOfflineFilesCache also has these types of members:

Methods

The IOfflineFilesCache interface has these methods.

MethodDescription
DeleteItems

Deletes files and directories from the local cache.

DeleteItemsForUser

Deletes a user's files and directories from the local cache.

Encrypt

Encrypts or unencrypts the contents of the Offline Files cache cached for the calling user.

EnumSettingObjects

Creates an enumerator of instances of IOfflineFilesSetting.

FindItem

Locates a particular file or directory item in the cache.

FindItemEx

Locates a particular file or directory item in the cache.

GetDiskSpaceInformation

Retrieves the amount of disk space used by the Offline Files cache as well as the space limits applied to cache usage.

GetEncryptionStatus

Retrieves the current encryption state (encrypted or unencrypted) of the Offline Files cache.

GetLocation

Retrieves the current fully qualified directory path of the Offline Files cache.

GetSettingObject

Creates an object that represents a particular Offline Files setting.

IsPathCacheable

Determines whether a specified UNC path is in the Offline Files cache.

Pin

Pins files, directories, and network shared folders.

ProcessAdminPinPolicy

Causes Offline Files to process the "administratively assigned offline files" group policy.

RenameItem

Renames a specified path in the cache.

SetDiskSpaceLimits

Sets disk space usage limits on the Offline Files cache.

Synchronize

Synchronizes files and directories in the Offline Files cache with their corresponding copies in the applicable network shared folders.

Unpin

Unpins files, directories, and network shared folders from the Offline Files cache.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

CscObj.h

DLL

CscSvc.dll;
CscObj.dll

See also

Offline Files API Interfaces

 

 

Show:
© 2014 Microsoft