Share via


Sequence.nextval Method

Definition

Overloads

nextval(Int64)

Returns the next sequence number from the sequence and then increments the counter value.

nextval(Int64, String)
nextval(Int64, String, Int32)

nextval(Int64)

Returns the next sequence number from the sequence and then increments the counter value.

public:
 virtual long nextval(long num1);
public virtual long nextval (long num1);
abstract member nextval : int64 -> int64
override this.nextval : int64 -> int64
Public Overridable Function nextval (num1 As Long) As Long

Parameters

num1
Int64

Returns

The next sequence number available.

Applies to

nextval(Int64, String)

public:
 virtual long nextval(long num1, System::String ^ text1);
public virtual long nextval (long num1, string text1);
abstract member nextval : int64 * string -> int64
override this.nextval : int64 * string -> int64
Public Overridable Function nextval (num1 As Long, text1 As String) As Long

Parameters

num1
Int64
text1
String

Returns

Applies to

nextval(Int64, String, Int32)

public:
 virtual long nextval(long _Increment, System::String ^ _Subkey1, int _Subkey2);
public virtual long nextval (long _Increment, string _Subkey1, int _Subkey2);
abstract member nextval : int64 * string * int -> int64
override this.nextval : int64 * string * int -> int64
Public Overridable Function nextval (_Increment As Long, _Subkey1 As String, _Subkey2 As Integer) As Long

Parameters

_Increment
Int64
_Subkey1
String
_Subkey2
Int32

Returns

Applies to