SpaceObServer.Application.Properties.RootFolderID

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Properties >

SpaceObServer.Application.Properties.RootFolderID

Description

The folder ID of the currently selected root directory. Use this read only property to navigate through the scanned directory tree (See: Navigation).

 
Syntax

property RootFolderID: <Integer>;

 
Example

PowerShell:

$SubFolderID
$SubFolderID = $SOS.FirstChildID($SOS.RootFolderID)

VBS:

Dim SubFolderID
SubFolderID = SOS.FirstChildID(SOS.RootFolderID)

The value of the "RootFolderID" is here passed to the "FirstChildID" function to get the identifier of the first sub directory of the currently activated root directory.