다음을 통해 공유


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)
Available in Sandboxed Solutions: No

Syntax

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

See Also

Reference

SPSiteLookupProvider Members

Microsoft.SharePoint.Administration Namespace