Partager via


Win32_FolderRedirectionHealth class

Represents the health of a known folder that is being redirected.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the 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

Qualifiers: Values (Healthy, Caution, Unhealthy), ValueMap (0, 1, 2)

The health status of this folder, based on the values that were set in the Win32_FolderRedirectionHealthConfiguration properties.

LastSuccessfulSyncTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last time this folder was successfully synchronized to the Offline Files cache.

LastSyncStatus

Data type: uint8

Access type: Read-only

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

LastSyncTime

Data type: DATETIME

Access type: Read-only

A DATETIME value that represents the last time an attempt was made to synchronized this folder to the Offline Files cache, even if it was unsuccessful.

OfflineAccessEnabled

Data type: boolean

Access type: Read-only

If true, the Offline Files feature is enabled for this folder.

OfflineFileNameFolderGUID

Data type: string

Access type: Read-only

The GUID for the known folder. One of the following values.

For This Known Folder: Use This Known Folder Identifier:
Application Data Roaming FOLDERID_RoamingAppData
Desktop FOLDERID_Desktop
Start Menu FOLDERID_StartMenu
Documents FOLDERID_Documents
Pictures FOLDERID_Pictures
Music FOLDERID_Music
Videos FOLDERID_Videos
Favorites FOLDERID_Favorites
Contacts FOLDERID_Contacts
Downloads FOLDERID_Downloads
Links FOLDERID_Links
Searches FOLDERID_SavedSearches
Saved Games FOLDERID_SavedGames

Redirected

Data type: boolean

Access type: Read-only

If true, the folder is being redirected.

Requirements

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

See also

Win32_FolderRedirection

Win32_FolderRedirectionHealthConfiguration

Win32_FolderRedirectionUserConfiguration