Redigera

Dela via


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

The new base sequence number of the record sequence.

Exceptions

newBaseSequenceNumber is invalid.

newBaseSequenceNumber is not active in the log.

An I/O error occurred while modifying the sequence.

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

The record sequence is full.

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