Description
Creates
a new database set with a given database set name argument. Returns an error
message if an error occurred.
This method is the same
as RegisterSchemaRepoLocationFile, except a new database
set is created using the name in the dbset input parameter.
A
Session does not need to be logged in to use this method.
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 became available in version 2002.05.00.
Syntaxe
VBScript
adminSession.RegisterSchemaRepoFromFileByDbSet dbset, filePath
Perl
$adminSession->RegisterSchemaRepoFromFileByDbSet(dbset, filePath);
- Identificateur
- Description
- adminSession
- L'objet AdminSession représentant la session d'accès du référentiel de schéma en cours.
- ensemble_bases_de_données
- A String containing the name of the new dbset.
- 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.