Api.JetSetCurrentIndex4 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 JetSetCurrentIndex4 ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
index As String, _
indexid As JET_INDEXID, _
grbit As SetCurrentIndexGrbit, _
itagSequence As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim index As String
Dim indexid As JET_INDEXID
Dim grbit As SetCurrentIndexGrbit
Dim itagSequence As IntegerApi.JetSetCurrentIndex4(sesid, _
tableid, index, indexid, grbit, itagSequence)
public static void JetSetCurrentIndex4(
JET_SESID sesid,
JET_TABLEID tableid,
string index,
JET_INDEXID indexid,
SetCurrentIndexGrbit grbit,
int itagSequence
)
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.
indexid
Type: Microsoft.Isam.Esent.Interop.JET_INDEXIDThe id of the index to select. This id can be obtained using JetGetIndexInfo or JetGetTableIndexInfo with the IndexId option.
grbit
Type: Microsoft.Isam.Esent.Interop.SetCurrentIndexGrbitSet index options.
itagSequence
Type: System.Int32Sequence number of the multi-valued column value which will be used to position the cursor on the new index. This parameter is only used in conjunction with NoMove. When this parameter is not present or is set to zero, its value is presumed to be 1.