Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Synchronize State

Last modified: July 23, 2011

Applies to: Outlook

This topic describes what happens during the synchronize state of the replication state machine.

State Identifier:

LR_SYNC

Related Data Structure:

SYNC

From this state:

Idle state

To this state:

Download hierarchy state, synchronize contents state, upload hierarchy state, or idle state

Note Note

The replication state machine is a deterministic state machine. A client departing from one state to another must eventually return to the former from the latter.

This state initiates synchronization. A local store can transition to an upload or a download state from here. For example, a local store can move to the upload hierarchy state to upload a folder hierarchy to the server, or it can perform a full synchronization by first uploading the hierarchy and then downloading the hierarchy from the server.

During this state, Outlook initializes the associated SYNC data structure with the path to the local store, so that Outlook sees modifications during other states.

The client sets the [in] members of SYNC, which tells Outlook how to handle other states. For example, the client can set ulFlags to UPS_UPLOAD_ONLY and UPS_THESE_FOLDERS and pel to a list of entry identifiers of the folders to tell Outlook that only these folders will be uploaded. When this state ends, the local store reverts to the idle state.

Show:
© 2015 Microsoft