2027 Method
Changes 0
M

NumberingSchema.ShiftNumbers

Description:
Shifts all numbers in the sequence so the starting number has the given value.
Remarks:

A shift of all numbers in the sequence will be computed and applied so the first (lowest) number in the sequence would have the given value. All the other numbers will then be shifted relatively by the same amount.

Any existing gaps in the current numbering sequence will be preserved.

Shifts that would make the start number less than 1 or bigger than MaximumStartingNumber are considered invalid.

public void ShiftNumbers(
	string partition,
	int firstNumber
)
  • String
    partition
    Name of the partition that identifies the sequence. The sequence must exist.
  • Int32
    firstNumber
    Value for the new first (lowest) number of the sequence.