LogStore.CreateLogArchiveSnapshot Method (SequenceNumber, SequenceNumber)
Takes a snapshot of the log store state between the specified sequence numbers for making a backup.
Assembly: System.IO.Log (in System.IO.Log.dll)
public LogArchiveSnapshot CreateLogArchiveSnapshot( SequenceNumber first, SequenceNumber last )
The starting sequence number in the range to archive.
The ending sequence number in the range to archive.
first or last is not between the base and last sequence numbers of this sequence.
first is larger than last.
An invalid operation has been executed.
An I/O error occurs when creating the archive snapshot.
The log store is not archivable.
The method was called after the sequence has been disposed of.
There is not enough memory to continue the execution of a program.
The record sequence is full.
Access for the specified log store is denied by the operating system.
The archive snapshot returned from this method encompasses information from either the base sequence number or the archive sequence number, whichever is lower, to the last sequence number. It is not inclusive for the last sequence number, which means that the archive only includes records up to but not including last. In addition, when using this method, the start SequenceNumber must be equal to the BaseSequenceNumber in order for the archive to be consistent.
Available since 3.0