SPSite.Exists method

Overload list

  Name Description
Public methodStatic member Exists(Uri) Returns a Boolean value that indicates whether the specified site collection exists.
Public methodStatic member Exists(Uri, Boolean) Determines if a site with the specified uri exists. Checks the config db cache and, additionally, checks the content database if checkContentDb is true.

Top

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace