Return the next available element in the sequence and change the sequence value by Delta.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public long Get(
	int Delta,
	Transaction txn
Visual Basic (Declaration)
Public Function Get ( _
	Delta As Integer, _
	txn As Transaction _
) As Long
Visual C++
long long Get(
	int Delta, 
	Transaction^ txn


Type: System..::.Int32
The amount by which to increment the sequence value. Must be greater than 0.
Type: BerkeleyDB..::.Transaction
If the operation is part of an application-specified transaction, txn is a Transaction object returned from BeginTransaction()()(); if the operation is part of a Berkeley DB Concurrent Data Store group, txn is a handle returned from BeginCDSGroup()()(); otherwise null. Must be null if the sequence was opened with a non-zero cache size.

Return Value

The next available element in the sequence.

See Also