This documentation is archived and is not being maintained.

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)

'Declaration
Public ReadOnly Property Exists As Boolean
	Get
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.Exists

Property Value

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