Previous in Contents Next in Contents

ChangeOrder Method

This method moves a path rule up or down in the collection of path rules. If the second parameter is True, Search moves the path up in the collection of path rules; if the second parameter is False, Search moves the path down in the collection of site rules.

Syntax

ISitePaths.ChangeOrder(Path, MoveUp)

Parameters

Path

The path that Search moves up or down. The path must be a concatenation of "http://", the Site name, and the path, as shown in the code example in Creating and Accessing ISitePath Interface Objects.

MoveUp

If True, the path rule is moved up in the list of path rules (crawled or avoided earlier); if False, the path rule is moved down in the list of path rules (crawled or avoided later).

Remarks

Search evaluates site rules in the same order as they appear in the collection.

Example

See Creating and Accessing ISitePath Interface Objects.


© 1997-2000 Microsoft Corporation. All rights reserved.