CatalogsLocation Property

This property specifies the location of the Search catalogs.

Syntax

ISearchServer.CatalogsLocation

Remarks

The location is the full path to the Search catalogs. If the location does not exist when you set this property, Search creates it.

Example

The following example sets the catalog location to C:\Search\Catalogs.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objSearchServer 

Set objSearchAdmin  = CreateObject("Search.SearchAdmin.1")
Set objSearchServer = objSearchAdmin.SearchServer

objSearchServer.CatalogsLocation = "C:\Search\objCatalogs"

'Release objects 
Set objSearchServer = Nothing
Set objSearchAdmin  = Nothing 
 

See Also

DefaultCatalog, SearchCatalogs


© 1997-1998 Microsoft Corporation. All rights reserved.