SPDatabase.IsEmpty Method
Determines if the database is empty.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function IsEmpty As Boolean
'Usage
Dim instance As SPDatabase
Dim returnValue As Boolean
returnValue = instance.IsEmpty()
public bool IsEmpty()
Return Value
Type: System.Boolean
Returns true if the database is empty; otherwise, returns false.