ISearchRoot::get_RootURL Method
Gets the URL of the starting point for this search root.
Syntax
HRESULT get_RootURL( LPWSTR *ppszURL );
Parameters
- ppszURL
[out, retval] A null-terminated, Unicode buffer that contains the URL.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Use CoTaskMemFree to free the memory from the returned string.
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.