Previous in Contents Next in Contents

Add Method

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 .


© 1997-2000 Microsoft Corporation. All rights reserved.