Name Property

This read-only property specifies the name of the catalog definition.

Syntax

IBuildCatalog.Name

Example

The following example displays the names of all of the catalog definitions.

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
  Wscript.Echo "objCatalog " & objCatalog.Name 
Next

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

See Also

Status, StatusCode


© 1997-1998 Microsoft Corporation. All rights reserved.