Previous in Contents Next in Contents

ISiteRestriction Interface

Hierarchy

ISearchAdmin:IBuildServer:IBuildCatalogs:IBuildCatalog:ISiteRestrictions

This interface manages access to a site, including whether Search crawls or avoids the site, whether to use the default content access account, and whether Search crawls or avoids certain paths.

You create an ISiteRestriction interface object by calling the ISiteRestrictions.Add method. You access a specific ISiteRestriction interface object by calling the ISiteRestrictions.Item property. Since ISiteRestrictions is a collection, you can access all of the ISiteRestriction interface objects by iterating through the collection in a for each loop.


© 1997-2000 Microsoft Corporation. All rights reserved.