IEnumSearchScopeRules::Clone method (searchapi.h)
Creates a copy of this IEnumSearchScopeRules object with the same contents and state as the current one.
Syntax
HRESULT Clone(
[out, retval] IEnumSearchScopeRules **ppenum
);
Parameters
[out, retval] ppenum
Type: IEnumSearchScopeRules**
On return, contains a pointer to the cloned IEnumSearchScopeRules object. The calling application must free the new object by calling its IUnknown::Release method.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 |