Pyramid* tsmGetPyramid ( TsmHandle *tsmh, const char *pyramidName )

Open a connection to a pyramid

Documentation

Open a connection to a pyramid.

tsmGetPyramid gets a Pyramid as identified by pyramidName. The identifier can be either a name or a URL. If the identifier can be parsed as a URL, then its assumed to be just that. Otherwise, its assumed to be a name and the corresponding URL is found in Pyramid Database.

N.B. this function is part of the old style server-centric interface to tsmApi. You should really start using the new leaner, cleaner, and sexier connection-based interface (see tsmConnect). This function is now just an emulation layer on top of the relevant connection-based function(s).

Returns:
the Pyramid if successful, FALSE if an error occurred
Parameters:
tsmh - the open TSM session handle
pyramidName - location of the Pyramid
Author:
Yvan Leclerc
See Also:
tsmPutPyramid, tsmGetPyramid, tsmOpen, tsmConnect, Pyramid


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

Back to tsmApi Home Page