CTSession.AddDatabase
Syntax
void AddDatabase (String Name, String Path)
Parameters
Description
Adds an existing database to the session.
Return
None.
Example
aSession.Logon();
try
{
aSession.AddDatabase(db_name, db_path);
Console.Write("\nDatabase added succesfully!!");
}
catch (CTException err)
{
Console.Write("\n\n{0} {1}",err.GetErrorCode(),
err.GetErrorMsg());
return (1);
}
See Also
CreateDatabase(), DeleteDatabase(), DropDatabase()