BuildServerName Property

This read-only property specifies the name of the catalog build server (IBuildServer interface).

Syntax

ISearchCatalog.BuildServerName

Example

The following example displays the name of the catalog build server.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objSearchServer, objCatalogs, objCatalog 

Set objSearchAdmin  = CreateObject("Search.SearchAdmin.1")
Set objSearchServer = objSearchAdmin.SearchServer
Set objCatalogs  = objSearchServer.SearchCatalogs
Set objCatalog   = objCatalogs("KMSampleCatalog1")

Wscript.Echo "The build server is " & objCatalog.BuildServerName

'Release objects 
Set objCatalog   = Nothing 
Set objCatalogs  = Nothing 
Set objSearchServer = Nothing
Set objSearchAdmin  = Nothing 
 

See Also

ISearchServer


© 1997-1998 Microsoft Corporation. All rights reserved.