GetInstalledMasters
Description
(Visual Basic only) For Perl, see GetInstalledMasterDbs
and GetInstalledDbSets
.
Returns the list of registered database sets and schema repositories (master databases).
The values returned are Variants.
Syntax
VBScript
session.GetInstalledMasters
dbSets, masterDBs
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- dbSets
- An empty Variant, which on return contains an array of strings. Each string in the array corresponds to the name of a registered database set.
- masterDBs
- An empty Variant, which on return contains an array of strings. Each string in the array corresponds to the name of a registered schema repository (master database).
- Return value
- None
Examples
VBScript
set sessionObj = GetSession
Dim dbSets, masterDBs
session.GetInstalledMasters dbSets, masterDBs
For Each db in dbSets
' ...
Next