ISearchPersistentItemsChangedSink::StoppedMonitoringScope Method
Called by a notifications provider to notify the indexer to stop monitoring changes to items within a specified hierarchical scope.
Syntax
HRESULT StoppedMonitoringScope( LPCWSTR pszURL );
Parameters
- pszURL
[in] Pointer to a null-terminated Unicode string that is the address for the scope to stop monitoring.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
When the notifications provider responsible for monitoring changes in the document store goes offline, it calls ISearchPersistentItemsChangedSink::StoppedMonitoringScope to remove the scope from the list of notification sources.