次の方法で共有


SPSiteLookupProvider.LookupHostHeaderSiteInfo method

Finds information about a host header site collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public MustOverride Function LookupHostHeaderSiteInfo ( _
    hostHeaderSiteName As String _
) As SPSiteMultiUrlLookupInfo
'Usage
Dim instance As SPSiteLookupProvider
Dim hostHeaderSiteName As String
Dim returnValue As SPSiteMultiUrlLookupInfo

returnValue = instance.LookupHostHeaderSiteInfo(hostHeaderSiteName)
public abstract SPSiteMultiUrlLookupInfo LookupHostHeaderSiteInfo(
    string hostHeaderSiteName
)

Parameters

  • hostHeaderSiteName
    Type: System.String

    A canonicalized token that uniquely identifies a host header collection.

Return value

Type: Microsoft.SharePoint.Administration.SPSiteMultiUrlLookupInfo
The site collection id if the site exists. Otherwise, guid.empty.

See also

Reference

SPSiteLookupProvider class

SPSiteLookupProvider members

Microsoft.SharePoint.Administration namespace