Share via


Win32_OfflineFilesConnectionInfo class

Presents query and action capabilities associated with the online-offline transition behavior of Offline Files. An instance of this class is obtained through the ConnectionInfo property of the Win32_OfflineFilesItem object.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[dynamic, provider("Win32_OfflineFilesProvider"), AMENDMENT]
class Win32_OfflineFilesConnectionInfo
{
  uint32 ConnectState;
  uint32 OfflineReason;
};

Members

The Win32_OfflineFilesConnectionInfo class has these types of members:

Properties

The Win32_OfflineFilesConnectionInfo class has these properties.

ConnectState

Data type: uint32

Access type: Read-only

Unknown (0)

Offline (1)

Online (2)

Transparently Cached (3)

Partly Transparently Cached (4)

Indicates whether the item is currently online or offline. If the item is offline, the OfflineReason property indicates why it is offline.

Windows Server 2008, Windows Vista, Windows Server 2008 R2 and Windows 7: 3 (Transparently Cached) and 4 (Partly Transparently Cached) are not supported before Windows Server 2012 and Windows 8

OfflineReason

Data type: uint32

Access type: Read-only

Unknown (0)

Not applicable (1)

Working offline (2)

Slow connection (3)

Net disconnected (4)

Need to sync item (5)

Item suspended (6)

If the item is offline (ConnectState=1 (Offline), this property indicates why it is offline.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMv2
MOF
OfflineFilesWmiProvider.mof
DLL
CscObj.dll

See also

Offline Files WMI Provider Reference