IEnumSearchScopeRules::Clone Method
Creates a copy of this IEnumSearchScopeRules object with the same contents and state as the current one.
Syntax
HRESULT Clone( IEnumSearchScopeRules **ppenum );
Parameters
- ppenum
[out, retval] 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
Returns S_OK if successful, or an error value otherwise.
Remarks
Windows 7 and later: the CrawlScopeCommandLine code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations.