C# Class Microsoft.Isam.Esent.Interop.Vista.VistaApi

ESENT APIs that were first supported in Windows Vista.
Show file Open project: ayende/managed-esent

Public Methods

Method Description
JetGetThreadStats ( JET_THREADSTATS &threadstats ) : void

Retrieves performance information from the database engine for the current thread. Multiple calls can be used to collect statistics that reflect the activity of the database engine on this thread between those calls.

JetOSSnapshotEnd ( JET_OSSNAPID snapid, SnapshotEndGrbit grbit ) : void

Notifies the engine that the snapshot session finished.

JetOpenTemporaryTable ( JET_SESID sesid, JET_OPENTEMPORARYTABLE temporarytable ) : void

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 Api.JetOpenTempTable, Api.JetOpenTempTable2, Api.JetOpenTempTable3.

Introduced in Windows Vista. Use Api.JetOpenTempTable3 for earlier versions of Esent.

Method Details

JetGetThreadStats() public static method

Retrieves performance information from the database engine for the current thread. Multiple calls can be used to collect statistics that reflect the activity of the database engine on this thread between those calls.
public static JetGetThreadStats ( JET_THREADSTATS &threadstats ) : void
threadstats JET_THREADSTATS Returns the thread statistics data.
return void

JetOSSnapshotEnd() public static method

Notifies the engine that the snapshot session finished.
public static JetOSSnapshotEnd ( JET_OSSNAPID snapid, SnapshotEndGrbit grbit ) : void
snapid JET_OSSNAPID The identifier of the snapshot session.
grbit SnapshotEndGrbit Snapshot end options.
return void

JetOpenTemporaryTable() public static 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 Api.JetOpenTempTable, Api.JetOpenTempTable2, Api.JetOpenTempTable3.
Introduced in Windows Vista. Use Api.JetOpenTempTable3 for earlier versions of Esent.
public static JetOpenTemporaryTable ( JET_SESID sesid, JET_OPENTEMPORARYTABLE temporarytable ) : void
sesid JET_SESID The session to use.
temporarytable JET_OPENTEMPORARYTABLE /// Description 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 /// to free the temporary table when finished. ///
return void