Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDatabase::Connect

Syntax

void Connect(const CTString& Name)

Parameters

  • Name [in] The database name to be connected.

Description

Connects to a database

Return

None.

Example


pSession = new CTSession;

pDatabase = new CTDatabase(pSession);

pSession->Logon();

pDatabase->Connect("myDatabase");


See also

Disconnect()

TOCIndex