SaveConfiguration Method

This method stores a catalog build server configuration.

Syntax

IBuildServer.SaveConfiguration(Path)

Parameters

Path

The full path to the file containing the configuration information.

Remarks

By default the Search save configuration operation in both MMC and WebAdmin export catalog files with a SBC file extension. Microsoft recommends that you save your catalog build server configuration files with a SBC file extension.

Example

The following example saves the configuration to the file C:\Backup\LocalHost.sbc.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objBuildServer 

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

objBuildServer.SaveConfiguration("C:\Backup\LocalHost.sbc") 

'Release objects 
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing 
 

See Also

LoadConfiguration


© 1997-1998 Microsoft Corporation. All rights reserved.