public bool renameDbTest( string sSrcDbName, string sDestDbName, DbSystem dbSystem) { // Try renaming the database MyDbRenameStatus renameStatus = new MyDbRenameStatus(); beginTest("Rename Database Test (" + sSrcDbName + " --> " + sDestDbName + ")"); try { dbSystem.dbRename(sSrcDbName, null, null, sDestDbName, true, renameStatus); } catch (XFlaimException ex) { endTest(renameStatus.outputLines(), ex, "renaming database"); return(false); } endTest(renameStatus.outputLines(), true); return(true); }