Description
Creates
a new database set (also known as a connection in Rational ClearQuest Maintenance
Tool) using the file path argument. Returns an error message if an error
occurred. The file path argument is the path name of a connection profile
file created by
Rational ClearQuest Maintenance
Tool.
Remarque : Session does not need to be logged in.
The
required file format is Name=Value pairs. The names that can be used are,
DbSetName, Name, Info, Database, Server, IsVisible, Vendor, Info2, IsMaster,
ConnectOptions, and Description. Par exemple :
DbSetName=mydbset
Vendor=2
Server=
Database=C:\my_dir\488498\mydbset.mdb
Info=
ConnectOptions=
Name=MASTR
Remarque : This method does not currently
work with versions of Rational ClearQuest
Maintenance Tool that support multiple database sets in a profile file.
Syntaxe
VBScript
adminSession.RegisterSchemaRepoFromFile filePath
Perl
$adminSession->RegisterSchemaRepoFromFile(filePath);
- Identificateur
- Description
- adminSession
- L'objet AdminSession représentant la session d'accès du référentiel de schéma en cours.
- filePath
- A String containing the file path to the connection information.
- Valeur de retour
- A Boolean whose value is True if the operation was successful,
otherwise False.