SpaceObServer.Application.RemoveRootFromDatabase

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.RemoveRootFromDatabase

Description

Removes a scanned root directory and all collected information from the database.
 

Syntax

RemoveRootFromDatabase (Path : <String>)
 

Parameters

PathToRemove

Removes all information about the given, previously scanned path from the database.

 
Example

$SOS.RemoveRootFromDatabase("\\Server\Share\") #PowerShell

SOS.RemoveRootFromDatabase "\\Server\Share\" 'VBS

Removes all scanned information of the root directory "\\Server\Share\" from the connected database. After this command is executed, size information of the root directory "\\Server\Share\" will no longer be stored in the database.