共用方式為


Offline Files API Interfaces

The following interfaces are used with Offline Files.

Note

On Windows Server operating systems beginning with Windows Server 2008 R2, the Offline Files COM API and WMI provider are available only if the Desktop Experience feature is installed on the server.

 

Interface Description
IEnumOfflineFilesItems Represents a collection of IOfflineFilesItem interface pointers.
IEnumOfflineFilesSettings Enumerates setting objects associated with the Offline Files service.
IOfflineFilesCache Used to manage the Offline Files cache.
IOfflineFilesChangeInfo Represents the information associated with local changes made to an item while working offline.
IOfflineFilesConnectionInfo Presents query and action capabilities associated with the online-offline behavior of Offline Files.
IOfflineFilesDirectoryItem Represents a directory item in the Offline Files cache.
IOfflineFilesDirtyInfo Represents information about an unsynchronized ("dirty") file in the Offline Files cache.
IOfflineFilesErrorInfo Provides a text description and raw data block associated with an error.
IOfflineFilesEvents Used to report significant events associated with Offline Files.
IOfflineFilesEvents2 Used to report additional events associated with Offline Files.
IOfflineFilesEvents3 Used to report events associated with transparently cached items.
IOfflineFilesEventsFilter Provides a mechanism for recipients of published events to restrict the number of event instances they receive.
IOfflineFilesFileItem Represents a file item in the Offline Files cache.
IOfflineFilesFileSysInfo Represents the standard information associated with a file system item in the Offline Files cache.
IOfflineFilesGhostInfo Represents the ghosting status of an item in the Offline Files cache.
IOfflineFilesItem Represents a single item in the Offline Files cache.
IOfflineFilesItemContainer Used to access item enumeration functionality in the Offline Files cache.
IOfflineFilesItemFilter Represents an instance of a filter to be applied to an enumeration.
IOfflineFilesPinInfo Represents the pinned status of an item in the Offline Files cache.
IOfflineFilesPinInfo2 Defines a method to determine whether an item in the Offline Files cache is partly pinned.
IOfflineFilesProgress Used to report progress back to callers of lengthy Offline Files operations.
IOfflineFilesServerItem Represents a server item in the Offline Files cache.
IOfflineFilesSetting Represents a setting that controls the behavior the Offline Files service.
IOfflineFilesShareInfo Presents share-specific information about cached items.
IOfflineFilesShareItem Represents a share item in the Offline Files cache.
IOfflineFilesSimpleProgress Used to report progress back to callers of lengthy Offline Files operations.
IOfflineFilesSuspend Suspends or releases a share root or directory tree in the Offline Files cache.
IOfflineFilesSuspendInfo Determines whether an item is suspended or not and, if so, if it is a suspended root or not.
IOfflineFilesSyncConflictHandler Used by a client calling the IOfflineFilesCache::Synchronize method to prescribe a conflict resolution strategy for sync conflicts as they are detected.
IOfflineFilesSyncErrorInfo Supplied with the IOfflineFilesSyncProgress::SyncItemResult method to communicate details about the item that experienced a sync error.
IOfflineFilesSyncErrorItemInfo Provides file attributes, time information, and file size for an item associated with a sync error.
IOfflineFilesSyncProgress Used to report progress back to the caller during synchronization and synchronization-related operations.
IOfflineFilesTransparentCacheInfo Represents information associated with transparently cached items.