int tsmLoadPyramidDatabase ( TsmHandle *tsmh, const char *pdbLocator )

Load a Pyramid database

Documentation

Load a Pyramid database.

Use tsmLoadPyramidDatabase is to explicitly load the Pyramid database. Unless you wish to override defaults, you should not need to call this function, since tsmGetPyramid will load it when necessary.

The URL of the database is determined by "appending" pdbLocator to the baseUrl (the argument to tsmOpen) unless pdbLocator is a fully specified URL, in which case pdbLocator will be used directly.

Use the empty string ("") to open the database at its default location relative to the baseUrl. See tsmAppendLocatorToPurl for a definition of "appending".

Returns:
TRUE if database is loaded, FALSE if load failed
Parameters:
tsmh - the TSM session handle.
pdbLocator - used to determine the URL of the database
Author:
Yvan Leclerc
See Also:
tsmSavePyramidDatabase, tsmAddToPyramidDatabase


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page