Returns an estimated number of search results for the given filter.
'Declaration
Public Shared Function EstimateResults( _
ByVal As Filter, _
ByVal As Dynamicweb.Searching.Queries.SearchQueryElement, _
ByVal As Boolean _
) As Long
public static long EstimateResults(
Filter ,
Dynamicweb.Searching.Queries.SearchQueryElement ,
bool includeCurrent
)
Parameters
- filter
- Filter to estimate results for.
- criteria
- Append the given search query elemenet to the current search query.
- includeCurrent
- Indicates whether to include the sub-query for the given filter to resulting query.
Return Value
The number of search results.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2