Api.JetSetCurrentIndex2 method
Set the current index of a cursor.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetSetCurrentIndex2 ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
index As String, _
grbit As SetCurrentIndexGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim index As String
Dim grbit As SetCurrentIndexGrbitApi.JetSetCurrentIndex2(sesid, _
tableid, index, grbit)
public static void JetSetCurrentIndex2(
JET_SESID sesid,
JET_TABLEID tableid,
string index,
SetCurrentIndexGrbit grbit
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to set the index on.
index
Type: System.StringThe name of the index to be selected. If this is null or empty the primary index will be selected.
grbit
Type: Microsoft.Isam.Esent.Interop.SetCurrentIndexGrbitSet index options.