GetLastSchemaRepoInfoByDbSet

Description

Returns schema repository information for the current connection, given a database set name.

It can be useful to save the schema repository connection info in a file. This is called a schema repository location file (that is, a tracking file). The name of this file is stored in the schema repository and whenever the schema repository location changes, the file is automatically updated. This method is used to retrieve information from the file.

Note: This method became available in version 2002.05.00.

new:

Returns information about the last database connection, given a database set name. This method returns the connection information for the default database set (or the most recently installed version if the default information is not available). By default, the database set name has the same name as the major version (for example, 2003.06.00).

For versions of IBM Rational ClearQuest® that do not support multiple database sets, this method finds the most recently registered schema repository (from the current or prior releases) to be used during an upgrade to propagate database connections.
Note: This method does not currently work for versions of HCL Compass that support multiple database sets.

Syntax

VBScript


adminSession.GetLastSchemaRepoInfoByDbSet dbset, vendor, server, 
database, roLogin, roPassword 

Perl


$adminSession->GetLastSchemaRepoInfoByDbSet(dbset, vendor, server, 
database, roLogin, roPassword); 
Identifier
Description
adminSession
The AdminSession object representing the current schema repository access session.
dbset
A string containing the database set name (that is, the product version number).
vendor
A string containing the vendor type of the database.
server
A string containing the server name of the database.
database
A string containing the database name.
roLogin
A string containing the roLogin.
roPassword
A string containing the roPassword.
Return value
A Boolean whose value is True if the operation was successful, otherwise False.