Share via


IMemoryConflictLog::Persist

Writes the contents of the conflict log to the conflict log writer specified in the Initialize method.

Syntax

HRESULT Persist();

Return Value

  • S_OK.

  • E_OUTOFMEMORY.

  • SYNC_E_INVALID_OPERATION when this object has not been initialized or when an IConflictLogWriter object was not specified when this object was initialized.

Remarks

To persist the conflicts stored in the in-memory conflict log, this method calls IConflictLogWriter::SaveConflict or IConflictLogWriter::SaveConstraintConflict on the IConflictLogWriter specified in Initialize one time for each conflict in the log.

See Also

Reference

IMemoryConflictLog Interface