VistaApi.JetOpenTemporaryTable method
Creates a temporary table with a single index. A temporary table stores and retrieves records just like an ordinary table created using JetCreateTableColumnIndex. However, temporary tables are much faster than ordinary tables due to their volatile nature. They can also be used to very quickly sort and perform duplicate removal on record sets when accessed in a purely sequential manner. Also see JetOpenTempTable(JET_SESID, [], Int32, TempTableGrbit, JET_TABLEID, []), JetOpenTempTable3(JET_SESID, [], Int32, JET_UNICODEINDEX, TempTableGrbit, JET_TABLEID, []).
Namespace: Microsoft.Isam.Esent.Interop.Vista
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetOpenTemporaryTable ( _
sesid As JET_SESID, _
temporarytable As JET_OPENTEMPORARYTABLE _
)
'Usage
Dim sesid As JET_SESID
Dim temporarytable As JET_OPENTEMPORARYTABLEVistaApi.JetOpenTemporaryTable(sesid, _
temporarytable)
public static void JetOpenTemporaryTable(
JET_SESID sesid,
JET_OPENTEMPORARYTABLE temporarytable
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
temporarytable
Type: Microsoft.Isam.Esent.Interop.Vista.JET_OPENTEMPORARYTABLEDescription of the temporary table to create on input. After a successful call, the structure contains the handle to the temporary table and column identifications. Use JetCloseTable(JET_SESID, JET_TABLEID) to free the temporary table when finished.
Remarks
Introduced in Windows Vista. Use JetOpenTempTable3(JET_SESID, [], Int32, JET_UNICODEINDEX, TempTableGrbit, JET_TABLEID, []) for earlier versions of Esent.