This read-only property specifies the locations (IStartPages interface) where the crawl starts.
Syntax
IBuildCatalog.StartPages
Example
The following example displays the start locations for all catalog definitions.
Option Explicit
On Error Resume Next
Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog, StartPages, StartPage
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs
For Each objCatalog in objCatalogs
StartPages = objCatalog.StartPages
If StartPages.Count = 0 Then
Wscript.Echo objCatalog.Name & " has no start pages."
Else
For Each StartPage in StartPages
Wscript.Echo StartPage.Url
Next
End If
Next
'Release objects
Set objCatalog = Nothing
Set objCatalogs = Nothing
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing
See also