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

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

Syntax

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

Parameters

Delta
Type: System..::.Int32
The amount by which to increment the sequence value. Must be greater than 0.
txn
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