Api.JetOpenTable method
Opens a cursor on a previously created table.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function JetOpenTable ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
tablename As String, _
parameters As Byte(), _
parametersSize As Integer, _
grbit As OpenTableGrbit, _
<OutAttribute> ByRef tableid As JET_TABLEID _
) As JET_wrn
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim tablename As String
Dim parameters As Byte()
Dim parametersSize As Integer
Dim grbit As OpenTableGrbit
Dim tableid As JET_TABLEID
Dim returnValue As JET_wrn
returnValue = Api.JetOpenTable(sesid, _
dbid, tablename, parameters, parametersSize, _
grbit, tableid)
public static JET_wrn JetOpenTable(
JET_SESID sesid,
JET_DBID dbid,
string tablename,
byte[] parameters,
int parametersSize,
OpenTableGrbit grbit,
out JET_TABLEID tableid
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe database session to use.
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database to open the table in.
tablename
Type: System.StringThe name of the table to open.
parameters
Type: []The parameter is not used.
parametersSize
Type: System.Int32The parameter is not used.
grbit
Type: Microsoft.Isam.Esent.Interop.OpenTableGrbitTable open options.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDReturns the opened table.
Return value
Type: Microsoft.Isam.Esent.Interop.JET_wrn
An ESENT warning.
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for