Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns information about a host header named site collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public MustOverride Function LookupHostHeaderSiteId ( _
hostHeaderSiteName As String _
) As Guid
'Usage
Dim instance As SPSiteLookupProvider
Dim hostHeaderSiteName As String
Dim returnValue As Guid
returnValue = instance.LookupHostHeaderSiteId(hostHeaderSiteName)
public abstract Guid LookupHostHeaderSiteId(
string hostHeaderSiteName
)
Parameters
hostHeaderSiteName
Type: System.StringA canonicalized token that uniquely identifies a host header named site collection.
Return Value
Type: System.Guid
Guid
The site collection identifier if the site collection exists. Otherwise, returns Guid.Empty.