Description

Returns a McDBDatabase for the base of the path stored.

Return Type

A McDBDatabase object.   A McDBDatabase with database used by the base (left most) entry in the path stored in this object.
Failure Returns Nothing.

Failure conditions:
* Database could Not be opened.
* Database could Not be added to the McDatabases collection. Attribute GetRootDatabase.VB_HelpID = 151XX Attribute GetRootDatabase.VB_Description = " YYY ." Attribute GetRootDatabase.VB_Description = " YYY ." Attribute GetRootDatabase.VB_HelpID = 151XX

Syntax

object.GetRootDatabase ([bOpen])

The GetRootDatabase Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodeRef.
bOpenOptional. A Boolean value. (optional, default = False) When True an attempt will be made to open the database.

Remarks

An attempt will be made to add the database to the McDatabases collection.