Hierarchy
ISearchAdmin:IBuildServer:IBuildCatalogs:IBuildCatalog:ISiteRestrictions
This interface specifies a site where 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.