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.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPSiteLookupProvider
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPSiteLookupProvider
'Usage
Dim instance As SPSiteLookupProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPSiteLookupProvider
Remarks
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.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.