Edit

Share via


Api.TryMoveLast method

Try to move to the last record in the table. If the table is empty this returns false, if a different error is encountered an exception is thrown.

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Shared Function TryMoveLast ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim returnValue As Boolean

returnValue = Api.TryMoveLast(sesid, _
    tableid)
public static bool TryMoveLast(
    JET_SESID sesid,
    JET_TABLEID tableid
)

Parameters

Return value

Type: System.Boolean
True if the move was successful.

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace