RegisterSchemaRepoFromFileByDbSet
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. For example:
DbSetName=mydbset
Vendor=2
Server=
Database=C:\my_dir\488498\mydbset.mdb
Info=
ConnectOptions=
Name=MASTR
Note: This method became available in version 2002.05.00.
Syntax
VBScript
adminSession.RegisterSchemaRepoFromFileByDbSet
dbset, filePath
Perl
$adminSession->RegisterSchemaRepoFromFileByDbSet
(dbset, filePath);
- Identifier
- Description
- adminSession
- The AdminSession object representing the current schema repository access session.
- dbset
- A String containing the name of the new dbset.
- filePath
- A String containing the file path to the connection information.
- Return value
- A Boolean whose value is True if the operation was successful, otherwise False.