<< Zum Inhaltsverzeichnis >> Navigation: OLE Automation > Application > Properties > SpaceObServer.Application.Properties.RootPaths |
Description
Queries the directory path for one root in the currently connected database.
Syntax
property RootPaths(Index : <Integer>): <String>;
Example
PowerShell:
if($SOS.RootCount -gt 0){
$SOS.RootDirectory = $SOS.RootPaths(0)
}
VBS:
if SOS.RootCount > 0
SOS.RootDirectory = SOS.RootPaths(0)
Checks if there is at least one root directory in the connected database. if so, the path of this root is queried and used as new "RootDirectory" property.