SPDatabase.Exists Property
Gets a Boolean value that indicates whether the database exists.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property Exists As Boolean
Get
'Usage
Dim instance As SPDatabase
Dim value As Boolean
value = instance.Exists
public bool Exists { get; }
Property Value
Type: System.Boolean
true if the database exists; otherwise, false.