SPSiteLookupProvider class

Represents a site lookup provider that uses the URL or identifier of a site collection to identify the content database that holds the data for the site collection.


Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPSiteLookupProvider

Implement this interface to replace the default SharePoint site collection lookup mechanism. After creating a class that implements this interface, you must install the assembly that contains your class in the Global Assembly Cache (GAC) of all SharePoint front-end Web servers in the server farm.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.