OFFLINEFILES_CONNECT_STATE enumeration (cscobj.h)

Describes the connection state of an item in the Offline Files cache.

Syntax

typedef enum tagOFFLINEFILES_CONNECT_STATE {
  OFFLINEFILES_CONNECT_STATE_UNKNOWN,
  OFFLINEFILES_CONNECT_STATE_OFFLINE,
  OFFLINEFILES_CONNECT_STATE_ONLINE,
  OFFLINEFILES_CONNECT_STATE_TRANSPARENTLY_CACHED,
  OFFLINEFILES_CONNECT_STATE_PARTLY_TRANSPARENTLY_CACHED
} OFFLINEFILES_CONNECT_STATE;

Constants

 
OFFLINEFILES_CONNECT_STATE_UNKNOWN
Returned by IOfflineFilesConnectionInfo::GetConnectState if the method fails.
OFFLINEFILES_CONNECT_STATE_OFFLINE
Returned by IOfflineFilesConnectionInfo::GetConnectState if the item is offline. Pass this value to IOfflineFilesConnectionInfo::SetConnectState to transition the item to offline.
OFFLINEFILES_CONNECT_STATE_ONLINE
Returned by IOfflineFilesConnectionInfo::GetConnectState if the item is online. Pass this value to IOfflineFilesConnectionInfo::SetConnectState to transition the item to online.
OFFLINEFILES_CONNECT_STATE_TRANSPARENTLY_CACHED
Returned by IOfflineFilesConnectionInfo::GetConnectState if the item is transparently cached.

Windows Server 2008 and Windows Vista:  This value is not supported before Windows Server 2008 R2 and Windows 7.
OFFLINEFILES_CONNECT_STATE_PARTLY_TRANSPARENTLY_CACHED
Returned by IOfflineFilesConnectionInfo::GetConnectState if the item contains both transparently cached data and data that can be made available offline.

Windows Server 2008 and Windows Vista:  This value is not supported before Windows Server 2008 R2 and Windows 7.

Remarks

Transparently cached data is accessible only when the client is connected to the server.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header cscobj.h

See also

IOfflineFilesConnectionInfo::GetConnectState

IOfflineFilesConnectionInfo::SetConnectState