This property specifies the maximium result rows for queries.
Syntax
ISearchCatalog.MaxResultRows
Remarks
MaxResultRows is the maximum number of rows to access during a query.
Example
The following example displays the maximum number of rows that are accessed during a query.
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 "Searching a maximum of " & MaxResultRows & " rows."
'Release objects
Set objCatalog = Nothing
Set objCatalogs = Nothing
Set objSearchServer = Nothing
Set objSearchAdmin = Nothing
See Also