次の方法で共有


SPSiteLookupProvider.LookupSite method (Guid)

Returns an SPSiteLookupInfo object that can be used to get information about a site collection or host header named site collection.

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

Syntax

'Declaration
Public MustOverride Function LookupSite ( _
    siteId As Guid _
) As SPSiteLookupInfo
'Usage
Dim instance As SPSiteLookupProvider
Dim siteId As Guid
Dim returnValue As SPSiteLookupInfo

returnValue = instance.LookupSite(siteId)
public abstract SPSiteLookupInfo LookupSite(
    Guid siteId
)

Parameters

  • siteId
    Type: System.Guid

    The GUID of the site collection.

Return value

Type: Microsoft.SharePoint.Administration.SPSiteLookupInfo
SPSiteLookupInfo
Information about the site collection if it can be found in the local server farm. Otherwise, returns a null reference (Nothing in Visual Basic).

See also

Reference

SPSiteLookupProvider class

SPSiteLookupProvider members

LookupSite overload

Microsoft.SharePoint.Administration namespace