IExchangeImportHierarchyChanges::UpdateState

The UpdateState method updates the status of importing the incremental hierarchy 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 IStream interface if it is going to shut down and resume later, or if it is checkpointing the progress of the incremental change synchronization.

See Also

IExchangeExportChanges::Config, IExchangeImportContentsChanges::UpdateState, IExchangeImportHierarchyChanges