Partager via


Win32_FolderRedirectionHealth class

Represents the health status of a redirected user folder.

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

Syntax

class Win32_FolderRedirectionHealth
{
  string   OfflineFileNameFolderGUID;
  boolean  Redirected;
  boolean  OfflineAccessEnabled;
  DATETIME LastSuccessfulSyncTime;
  DATETIME LastSyncTime;
  uint8    LastSyncStatus;
  uint8    HealthStatus;
};

Members

The Win32_FolderRedirectionHealth class has these types of members:

Properties

The Win32_FolderRedirectionHealth class has these properties.

HealthStatus

Data type: uint8

Access type: Read-only

The health status of the folder.

The possible values are.

Healthy (0)

Caution (1)

Unhealthy (2)

LastSuccessfulSyncTime

Data type: DATETIME

Access type: Read-only

The last time the folder was successfully synchronized with the Offline Files cache.

LastSyncStatus

Data type: uint8

Access type: Read-only

The status of the last attempt to synchronize the folder to the Offline Files cache.

The possible values are.

Success (0)

Conflict (1)

Warning (2)

Error (3)

LastSyncTime

Data type: DATETIME

Access type: Read-only

The last time an attempt was made to synchronize the folder with the Offline Files cache.

OfflineAccessEnabled

Data type: boolean

Access type: Read-only

Whether offline access is enabled on the folder. True if offline access is enabled; otherwise false.

OfflineFileNameFolderGUID

Data type: string

Access type: Read-only

The GUID of the folder.

Redirected

Data type: boolean

Access type: Read-only

Whether the folder is redirected. True if this folder is redirected; otherwise false.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\CIMV2
MOF
UserProfileWmiProvider.mof
DLL
Profprov.dll

See also

UserProfileProvider Provider Classes