SPSiteLookupProvider.RenameHostHeaderSite Method
When overridden in a derived class, renames the specified host header site collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public MustOverride Sub RenameHostHeaderSite ( _
siteId As Guid, _
newHostHeaderSiteUri As Uri _
)
'Usage
Dim instance As SPSiteLookupProvider
Dim siteId As Guid
Dim newHostHeaderSiteUri As Uri
instance.RenameHostHeaderSite(siteId, _
newHostHeaderSiteUri)
public abstract void RenameHostHeaderSite(
Guid siteId,
Uri newHostHeaderSiteUri
)
Parameters
siteId
Type: System.GuidThe GUID of the host header site collection to rename.
newHostHeaderSiteUri
Type: System.UriThe new path of the host header site collection to rename.
Remarks
When overridden in a derived class, this method renames the host header site specified by the siteId parameter to the path specified by the newHostHeaderSiteUri parameter.