Description
The McDBNode instance representing the root this McDBDatabase's McDBNode tree hierarchy.
-
Property type
-
A McDBNode object.
-
Syntax
-
object.RootNode
The RootNode Property syntax has these parts: |
| object | An expression evaluating to an object of type McDBDatabase. | Remarks
As explained in the Database Engine Overview, the RootNode is the hierarchal topmost parent of every other McDBNode in the McDBatabase. It is guaranteed to exist, although it may not be accessible (e.g. because of security settings).
Notes
If the RootNode is not accessible (i.e. the database is secure and the McDBDatabase.LoggedUser does not have read access to it), this property will be Nothing. Further, the RootNode is not created until it is first accessed, so if a database is secured before its RootNode is accessed, the McDBDatabase.LoggedUser must have both read and write rights to unsecure data objects for this property to return an McDBNode. In the case where insufficient rights exist to instantiate the RootNode, no error is thrown, and this property will be Nothing.
|