FollowComplexUrls Property

This property specifies whether to allow wildcards in the names of Web links to crawl.

Syntax

IBuildCatalog.FollowComplexUrls [=Follow]

Settings

Follow

If True, Search allows the question mark (?) in filenames; if false, Search does not allow the question mark (?) in filenames.

Example

The following example allows wildcards in the names of Web links to crawl.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog 

Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs 

For Each objCatalog in objCatalogs
  objCatalog.FollowComplexUrls = True
Next

'Release objects 
Set objCatalogs = Nothing 
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing 
 

See Also

Sites, StartPages


© 1997-1998 Microsoft Corporation. All rights reserved.