You are here: COM Interface > Interfaces > ISearchJob Interface > ISearchJob::AutoStopLimit Property
Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchJob::AutoStopLimit Property
Syntax
IDL
__property long AutoStopLimit;

AutoStopLimit causes a search to halt automatically when a specified number of documents have been found.

This provides a way to limit the resources consumed by searches that retrieve a very large number of documents. When the number of files retrieved reaches the autoStopLimit value, the search will immediately halt, and the code dtsErSearchLimitReached will be returned through the error handler for the search job. If the AutoStopLimit is 0, the search will not halt.

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.