[This is preliminary documentation and subject to change.]
The CDatabaseConnection class provides the root encapsulation of the Jet database engine. Before you can use any of the methods below, you must first call the SetJet method.
The CDatabaseConnection class provides the following methods:
Method | Description |
---|---|
StartEngine | Starts the Jet database engine. |
ConnectToDatabase | Opens a connection to the specified database. |
DisconnectFromDatabase | Closes the connection to the specified database. |
GetWorkspaceName | Retrieves the name of the workspace |
GetWorkspaceUnknown | Gets a pointer to the workspace. |
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in dbsets.h.
Import Library: Use dbsets.lib or dbsetsSt.lib.
Unicode: Yes.