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


Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPSiteLookupProvider
Dim instance As SPSiteLookupProvider
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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.

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.

See Also


SPSiteLookupProvider Members

Microsoft.SharePoint.Administration Namespace