SPDatabase.IsEmpty method

Determines if the database is empty.

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

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.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace