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.
Checks whether the specified site collection exists in the local server farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public MustOverride Function SiteExists ( _
id As Guid _
) As Boolean
'Usage
Dim instance As SPSiteLookupProvider
Dim id As Guid
Dim returnValue As Boolean
returnValue = instance.SiteExists(id)
public abstract bool SiteExists(
Guid id
)
Parameters
id
Type: System.GuidThe GUID of the site collection.
Return value
Type: System.Boolean
Boolean
true if the site collection exists in the local server farm; otherwise, false.