Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.26 KB

JetCreateInstance.md

File metadata and controls

55 lines (36 loc) · 1.26 KB

Home

Function name : JetCreateInstance

Group: Extensible Storage Engine (ESE, Jet Blue) - Library: esent


Allocates a new instance of the database engine for use in a single process.


Code examples:

Extensible Storage Engine class library

Declaration:

JET_ERR JET_API JetCreateInstance(
  __out         JET_INSTANCE* pinstance,
  __in_opt      const tchar* szInstanceName
);  

FoxPro declaration:

DECLARE INTEGER JetCreateInstance IN esent;
	INTEGER @pinstance,;
	STRING szInstanceName  

Parameters:

pinstance The output buffer that receives the newly-created instance.

szInstanceName A unique string identifier for the instance to be created. This string must be unique within a given process hosting the database engine.


Return value:

This function returns the JET_ERR datatype with one of predefined return codes (e.g. JET_errSuccess=0).


Comments:

W2K: not supported.

See also: JetInit, JetTerm.