Partilhar via


SPSiteLookupProvider Members

Include Protected Members
Include Inherited Members

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.

The SPSiteLookupProvider type exposes the following members.

Constructors

  Name Description
Protected method SPSiteLookupProvider Initializes a new instance of the SPSiteLookupProvider class.

Top

Methods

  Name Description
Public method AddSite Adds a new site map entry.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSiteNames(SPContentDatabase) Returns a list of all the names of site collections in the specified content database.
Public method GetSiteNames(SPWebApplication) Returns a list of all site collections in the specified Web application.
Public method GetType (Inherited from Object.)
Public method LookupHostHeaderSiteId Returns information about a host header named site collection.
Public method LookupSite(Guid) Returns an SPSiteLookupInfo object that can be used to get information about a site collection or host header named site collection.
Public method LookupSite(SPWebApplication, String) Returns an SPSiteLookupInfo object that can be used to get the SPContentDatabase object that contains the site collection.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveSite Removes the site map entry for the specified site collection.
Public method RenameHostHeaderSite When overridden in a derived class, renames the specified host header site collection.
Public method SetSiteSubscription Updates the site subscription ID of the specified site collection.
Public method SiteExists Checks whether the specified site collection exists in the local server farm.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPSiteLookupProvider Class

Microsoft.SharePoint.Administration Namespace