Partager via


Win32_OfflineFilesBackgroundSync class

Represents a background synchronization operation.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class Win32_OfflineFilesBackgroundSync
{
  uint16  SyncInterval;
  uint16  SyncVariance;
  uint16  MaxTimeBetweenSyncs;
  uint16  BlockOutStartTimeHoursMinutes;
  uint16  BlockOutDurationMin;
  boolean BackgroundSyncWorkOfflineSharesEnabled;
};

Members

The Win32_OfflineFilesBackgroundSync class has these types of members:

Properties

The Win32_OfflineFilesBackgroundSync class has these properties.

BackgroundSyncWorkOfflineSharesEnabled

Data type: boolean

Access type: Read/write

If true, enable background synchronization for shares that the user has forced into "work offline" mode.

BlockOutDurationMin

Data type: uint16

Access type: Read/write

Qualifiers: Max (1440)

The length of time, in minutes, when background synchronization is disabled. This property is used together with the BlockOutStartTimeHoursMinutes property.

BlockOutStartTimeHoursMinutes

Data type: uint16

Access type: Read/write

Qualifiers: Max (2400)

The time of the day when background synchronization is disabled. This property is used together with the BlockOutDurationMin property. The format of this property is: HHMM. The first two digits of this uint16 value are hours (00-24) and the third and fourth digits are minutes (00-59).

MaxTimeBetweenSyncs

Data type: uint16

Access type: Read/write

The maximum time, in minutes, until a synchronization operation must start.

SyncInterval

Data type: uint16

Access type: Read/write

Qualifiers: Max (1440)

The synchronization interval, in minutes. This property is used together with the SyncVariance property. Together, these properties specify how often the synchronization operation is performed.

SyncVariance

Data type: uint16

Access type: Read/write

Qualifiers: Max (3600)

The amount of time, in minutes, by which the synchronization interval can vary. This property is used together with the SyncInterval property. For example, if the value of the SyncInterval property is 60 and the value of the SyncVariance property is 10, the synchronization operation can start any time between 60 and 70 minutes after the beginning of the previous synchronization operation.

Remarks

For redirected folders in offline (slow-link) mode, a synchronization operation is initiated in the background on a regular basis, according to these settings. This operation synchronizes the files in the redirected folders on the client with the copies on the server.

By default, network folders in offline mode will be synchronized with the server every 360 minutes with the start of the sync varying between 0 and 60 additional minutes.

Requirements

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

See also

Win32_RoamingProfileMachineConfiguration