IExchangeImportContentsChanges::UpdateState

The UpdateState method updates the status of importing the incremental message changes.

HRESULT UpdateState(
  LPSTREAM lpStream   
);
 

Parameters

lpStream
Input parameter. Points to a Win32 IStream interface, which is where the state data is stored. Typically this parameter points to the interface opened by the IExchangeExportChanges::Config method. UpdateState also uses this interface if this parameter is NULL.

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.

Remarks

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

See Also

IExchangeExportChanges::Config, IExchangeImportContentsChanges, IExchangeImportHierarchyChanges::UpdateState