DefaultCatalogsLocation Property

This property specifies the location in the file system where the catalog definitions are stored.

Syntax

IBuildServer.DefaultCatalogsLocation [=Directory]

Parameters

Directory

The directory where the catalog definitions are stored.

Remarks

If Directory does not exist, Search creates it.

Example

The following example changes the default catalog definitions location to the Misc directory under the current catalog location directory.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objBuildServer 

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

objBuildServer.DefaultCatalogsLocation = _
  objBuildServer.DefaultCatalogsLocation & "\Misc"

'Release Objects
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing 

See Also

BuildCatalogs, DefaultLogsLocation


© 1997-1998 Microsoft Corporation. All rights reserved.