This method adds a mapping to the collection of mappings.
Syntax
IMappings.Add(From, To)
Parameters
From
The crawler access location where the document is located. Search sets the new mapping object's From property to this value.
To
The display location where the document is displayed to site visitors. Search sets the new mapping object's To property to this value.
Example
Accessing an IMappings Interface Object .