IRecordSequence.ReadRestartAreas IRecordSequence.ReadRestartAreas IRecordSequence.ReadRestartAreas IRecordSequence.ReadRestartAreas Method

Definition

When overridden in a derived class, returns an enumerable collection of the restart areas in the sequence.

public:
 System::Collections::Generic::IEnumerable<System::IO::Log::LogRecord ^> ^ ReadRestartAreas();
public System.Collections.Generic.IEnumerable<System.IO.Log.LogRecord> ReadRestartAreas ();
abstract member ReadRestartAreas : unit -> seq<System.IO.Log.LogRecord>
Public Function ReadRestartAreas () As IEnumerable(Of LogRecord)

Returns

An enumerable collection of the restart areas in the sequence.

Exceptions

One or more of the arguments is invalid.

An I/O error occurred while reading the record.

The method was called after the sequence has been disposed of.

Remarks

The restart areas are enumerated in reverse sequence number order, that is, from the highest sequence number to the lowest sequence number. Only restart areas with sequence numbers between the last sequence number and the base sequence number are enumerated.

Note

If the log extent containing the BaseSequenceNumber becomes corrupted, this method can throw an IOException with the error message "The request could not be performed because of an unexpected I/O exception. The following error code was returned: '80070026'".

Applies to