Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTSession.Logon

Syntax

void Logon()

void Logon(String dbEngine, String user, String password)

Parameters

  • dbEngine: The server or c-tree Plus instance name (default is "FAIRCOMS")
  • user: The user name (default is " ")
  • password: The user password (default is " ")

Description

Logs on to a c-tree Server, or a c-tree instance, session. A logon is necessary to work with the databases. After a session is logged on, its status is active.

The Logon() overload logs using the default values.

Return

None.

Example

aSession.Logon("FAIRCOMS", "ADMIN", "ADMIN");

See Also

IsActive(), Logout()

TOCIndex