This read-only property specifies the parent ISearchAdmin interface.
Syntax
ISearchServer.SearchAdmin
Remarks
This property is a convenient way to get to the parent interface of the current ISearchServer interface.
Example
The following example displays the host name of the associated SearchAdmin object.
Option Explicit
On Error Resume Next
Dim objSearchAdmin, objSearchServer, SearchObjParent
Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objSearchServer = objSearchAdmin.SearchServer
Set SearchObjParent = objBuildServer.SearchAdmin
Wscript.Echo "The current host is " & SearchObjParent.HostName
'Release objects
Set SearchObjParent = Nothing
Set objSearchServer = Nothing
Set objSearchAdmin = Nothing
See Also