OFFLINEFILES_CONNECT_STATE enumeration

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

Syntax


typedef enum  { 
  OFFLINEFILES_CONNECT_STATE_UNKNOWN                      = 0,
  OFFLINEFILES_CONNECT_STATE_OFFLINE                      = 1,
  OFFLINEFILES_CONNECT_STATE_ONLINE                       = 2,
  OFFLINEFILES_CONNECT_STATE_TRANSPARENTLY_CACHED         = 3,
  OFFLINEFILES_CONNECT_STATE_PARTLY_TRANSPARENTLY_CACHED  = 4
} 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.

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.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Cscobj.h

See also

IOfflineFilesConnectionInfo::GetConnectState
IOfflineFilesConnectionInfo::SetConnectState

 

 

Show:
© 2014 Microsoft