The folder.folders( ) method returns a collection of Folder objects contained in the parent folder.
By default, if you omit the options parameter, only the folders at the first level of the folder are returned in the collection. You can modify this by passing, in the options parameter, one or more of the following constants:
Constant |
Value |
Comment |
fk recursive |
1 |
The collection contains files or folders of the specified folder and its subfolders. |
fk ignore invisible |
8 |
Invisible files or folders are not listed |
Returned value
Collection of Folder objects.
You want the collection of all folders and subfolders of the database folder: