Api.JetOpenTable 方法
在先前建立的資料表上開啟資料指標。
Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'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
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的資料庫會話。
dbid
類型: Microsoft.Isam.Esent.Interop.JET_DBID要開啟資料表的資料庫。
tablename
類型: System.String要開啟的資料表名稱。
參數
類型: []未使用 參數。
parametersSize
類型: System.Int32未使用 參數。
grbit
類型: Microsoft.Isam.Esent.Interop.OpenTableGrbit資料表開啟選項。
tableid
類型: Microsoft.Isam.Esent.Interop.JET_TABLEID傳回開啟的資料表。
傳回值
類型: Microsoft.Isam.Esent.Interop.JET_wrn
ESENT 警告。