Share via


IixssoQuery::MaxRecords property

[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]

Defines the maximum number of records (rows) to use in the query result set, which is an ADO Rowset object.

This property is read/write.

Syntax

HRESULT put_MaxRecords(
  [in]          LONG val
);

HRESULT get_MaxRecords(
  [out, retval] LONG *val
);

Property value

Specifies the maximum number of hits to allow for in the query result set.

Remarks

This property limits the number of records in the Rowset object the Indexing Service OLE DB provider retrieves from its data source object, which is the group of indexes defined by the current catalog. The default setting of zero requests all records. MaxRecords is read/write when the recordset is closed and read-only when it is open.

For Web clients, the query string variables in URLs associated with this property is mh (MaxHits).

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
DLL
Ixsso.dll

See also

IixssoQuery