XmlManager::renameContainer |
![]() ![]() |
#include <DbXml.hpp>void XmlManager::renameContainer(XmlTransaction &txn, const std::string &oldName, const std::string &newName);
The XmlManager::renameContainer method renames the container's underlying file.
The container must be closed; the system throws an exception if the container is open.
The container must have been opened at least once; the system throws an exception if the underlying file has not yet been created.
The XmlManager::renameContainer method may fail and throw XmlException, encapsulating one of the following non-zero errors:
![]() ![]() |
Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.