SpaceObServer.Application.StartScan

<< Zum Inhaltsverzeichnis >>

Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.StartScan

Description

Scans the passed directory immediately.
 

Syntax

StartScan (Path : <String>)
 

Parameters

Path

An existing or new root path, for which the new scan should be executed now.

 
Example

$SOS.StartScan("\\Server1\Share1\") #PowerShell

SOS.StartScan "\\Server1\Share1\" 'VBS

Tries to start a scan for the root directory "\\Server1\Share1\" immediately.
In case there is no root directory for this path, a new root is added to the SpaceObServer database.

 
Remarks

The scan can only be started if the observing server is running, the SpaceObServer scan service is running on this server and if the observing server is not executing any other scans (scans are always executed sequential).