This method moves a site up or down in the collection of site restrictions. If the second parameter is True, Search moves the site specified by the first parameter up in the collection of site restrictions. If the second parameter is False, Search moves the site specified by the first parameter down in the collection of site restrictions.
Syntax
ISiteRestrictions.ChangeOrder(SiteName, Up)
Parameters
SiteName
The name of the site to move.
Up
If True, Search moves the site up in the collection; if False, Search moves it down.
Remarks
Search evaluates site restrictions in the same order as they appear in the collection. If SiteName is not in the collection of sites, Search ignores the request.
Example
See Accessing and Creating an ISiteRestriction Interface Object.
See Also