Exists Property
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

SPWeb.Exists Property

Windows SharePoint Services 3

Gets a Boolean value that indicates whether the Web site exists.

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

public bool Exists { get; }

Property Value

Type: System.Boolean
true if the site exists; otherwise, false.
Show:
© 2016 Microsoft