JetGetVersion Function
Last modified: March 09, 2015
Applies to: Windows | Windows Server
The JetGetVersion function retrieves the version of the database engine.
JET_ERR JET_API JetGetVersion( __in JET_SESID sesid, __out unsigned long* pwVersion );
Parameters
sesid
The session to use for this call.
pwVersion
A pointer to the version number of the database engine.
Return Value
This function returns the JET_ERR datatype with one of the following return codes. For more information about the possible ESE errors, see Extensible Storage Engine Errors and Error Handling Parameters.
Return code | Description |
|---|---|
JET_errSuccess | The operation completed successfully. |
If this function succeeds, the version of the database engine is retrieved.
There are no known failure modes.
Requirements
Client | Requires Windows Vista, Windows XP, or Windows 2000 Professional. |
Server | Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server. |
Header | Declared in Esent.h. |
Library | Use ESENT.lib. |
DLL | Requires ESENT.dll. |