次の方法で共有


SPSiteLookupProvider.RemoveSite method

Removes the site map entry for the specified site collection.

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

Syntax

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

returnValue = instance.RemoveSite(siteId)
public abstract bool RemoveSite(
    Guid siteId
)

Parameters

  • siteId
    Type: System.Guid

    The System.Guid of the site collection to remove.

Return value

Type: System.Boolean
true if the entry existed when the method was called; otherwise, false.

See also

Reference

SPSiteLookupProvider class

SPSiteLookupProvider members

Microsoft.SharePoint.Administration namespace