ISearchScopeRule::get_PatternOrURL Method
Gets a pattern or URL. The scope rules determine what URL or paths to either include or exclude. This method retrieves the URL or pattern for a given rule.
Syntax
HRESULT get_PatternOrURL( LPWSTR *ppszPatternOrURL );
Parameters
- ppszPatternOrURL
[out, retval] Returns the address of a pointer to a null-terminated, Unicode buffer that contains the pattern or URL string.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
A standard url may look like
outlookexpress://{User sid}/{Identity}/Inbox)whereas a pattern may look likefile:///c:\documents and settings\*\application data\*.Note that only exclusionary rules use patterns.