The HostName property specifies the host being administered.
Syntax
ISearchAdmin.HostName
Example
The following example displays the administrator email address configured on the catalog build server of the Search host SearchHost1.
Option Explicit
On Error Resume Next
Dim objSearchAdmin, Host
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
objSearchAdmin.HostName = "SearchHost1"
Wscript.Echo objSearchAdmin.BuildServer.EmailAddress
...
Set objSearchAdmin = Nothing
See Also