This method adds a path rule to the collection of path rules.
Syntax
ISitePaths.Add(Path, Included)
Parameters
Path
The full path on the site that Search crawls or avoids. Search sets the new path object's Path property to this path.
Included
If True, Search crawls Path; if False, Search does not crawl Path. Search set the new path object's Included property to this value.
Remarks
Search sets the new path object's IncludeSubdirs property to True.
Example
See Creating and Accessing ISitePath Interface Objects.
See Also