Platform SDK: Exchange Server

IExchangeExportChanges::UpdateState

The UpdateState method updates the status of exporting the incremental changes.

HRESULT UpdateState(
  LPSTREAM lpStream   
);
 

Parameters

lpStream
Input parameter. Points to a Win32 IStream interface, which contains the current synchronization state. If this parameter is NULL, the agent uses the IStream interface from IExchangeExportChanges::Config.

The agent must use a different IStream interface if it is going to shut down and resume later, or if it is checkpointing the progress of the incremental change synchronization.

Return Values

See Return Values.

In addition, UpdateState can return one of the following values:

SUCCESS_SUCCESS
The method completed successfully.
SYNC_E_ERROR
An unknown error occurred.

See Also

IExchangeExportChanges