RootDirectory¶
SpaceObServer.Application.Properties.RootDirectory¶
Description
Use this property to load a scanned directory, exchange scan, SSH scan or container root to the directory tree and make it the active root directory.
Syntax
property RootDirectory: <String>;
Example
1.)
$SOS.RootDirectory = "C:\Temp\"
SOS.RootDirectory = "C:\Temp\"
Loads the scanned directory “C:Temp” into the directory tree of SpaceObServer and makes it the active root directory.
2.)
$SOS.RootDirectory = "exchange://mail"
SOS.RootDirectory = "exchange://mail"
Loads the scan results of the Exchange Server “mail” into the directory tree of SpaceObServer and makes it the active root directory.
Also accepted: SOS.RootDirectory = "mail"
3.)
$SOS.RootDirectory = "ssh://95.108.123.204"
SOS.RootDirectory = "ssh://95.108.123.204"
Loads the scan results of the SSH scan of the server “95.108.123.204” into the directory tree of SpaceObServer and makes it the active root directory.
Also accepted: SOS.RootDirectory = "95.108.123.204"
4.)
$SOS.RootDirectory = "merged://Container1"
SOS.RootDirectory = "merged://Container1"
Loads the container root named “Container1” into the directory tree of SpaceObServer and makes it the active root directory.
Also accepted: SOS.RootDirectory = "Container1"
Remarks
If the directory you assigned to “RootDirectory” is not a scanned directory root, or a sub path of a scanned directory, an Exception (“ESpaceObServerOLEException”) will be raised.