IRecordSequence.AdvanceBaseSequenceNumber(SequenceNumber) IRecordSequence.AdvanceBaseSequenceNumber(SequenceNumber) IRecordSequence.AdvanceBaseSequenceNumber(SequenceNumber) IRecordSequence.AdvanceBaseSequenceNumber(SequenceNumber) Method

Definition

Moves the base sequence number of the log forward.

public:
 void AdvanceBaseSequenceNumber(System::IO::Log::SequenceNumber newBaseSequenceNumber);
public void AdvanceBaseSequenceNumber (System.IO.Log.SequenceNumber newBaseSequenceNumber);
abstract member AdvanceBaseSequenceNumber : System.IO.Log.SequenceNumber -> unit
Public Sub AdvanceBaseSequenceNumber (newBaseSequenceNumber As SequenceNumber)

Parameters

newBaseSequenceNumber
SequenceNumber SequenceNumber SequenceNumber SequenceNumber

The new base sequence number of the record sequence.

Exceptions

An I/O error occurred while modifying the sequence.

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

Remarks

When you use a LogRecordSequence instance and try to advance the sequence number to free up space in the log, the new base sequence number must reside in a different log extent for the previous extent to be marked as empty. Freeing extents partially is not supported.

Applies to