IEnumSearchScopeRules::Next method (searchapi.h)
Retrieves the specified number of ISearchScopeRule elements.
Syntax
HRESULT Next(
[in] ULONG celt,
[out] ISearchScopeRule **pprgelt,
[in, out] ULONG *pceltFetched
);
Parameters
[in] celt
Type: ULONG
The number of elements to retrieve.
[out] pprgelt
Type: ISearchScopeRule**
A pointer to an array which this method will initialize with ISearchScopeRule elements.
[in, out] pceltFetched
Type: ULONG*
A pointer that this method will set to the actual number of elements retrieved. Can be NULL if celt == 1, otherwise it must not be NULL.
Return value
Type: HRESULT
Returns S_OK if successful, S_FALSE if there were not enough items left in the enumeration to be returned, or an error value.
Remarks
Windows 7 and later: Check out the CrawlScopeCommandLine code sample to see how to define command line options for Crawl Scope Manager (CSM) indexing operations.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
Target Platform | Windows |
Header | searchapi.h |