Share via


ISyncSession::Cancel

Cancels the current synchronization session.

HRESULT Cancel();

Parameters

None

Return Value

  • S_OK

  • E_ABORT when this object has been destroyed.

  • SYNC_E_INTERNAL_ERROR

Remarks

Cancel stops the synchronization session from performing any more work. It does not roll back any changes that have already been made.

After Cancel is called, all Sync Framework methods return E_ABORT.

See Also

Reference

ISyncSession Interface